diff Lib/IMPL/Serialization.pm @ 194:4d0e1962161c

Replaced tabs with spaces IMPL::Web::View - fixed document model, new features (control classes, document constructor parameters)
author cin
date Tue, 10 Apr 2012 20:08:29 +0400
parents d1676be8afcc
children a705e848dcc7
line wrap: on
line diff
--- a/Lib/IMPL/Serialization.pm	Tue Apr 10 08:13:22 2012 +0400
+++ b/Lib/IMPL/Serialization.pm	Tue Apr 10 20:08:29 2012 +0400
@@ -223,10 +223,10 @@
                           refId => $rhProps->{'refid'}
                           };
 
-	if (defined $rhProps->{'id'}) {                          
-    	die new IMPL::Exception("Trying to create a simple object instead of a reference, type is missing.",$name,$rhProps->{id}) unless $rhProps->{'type'} ;
-    	$this->{$Context}->{$rhProps->{'id'}} = $this->{$SurrogateHelper} ? $this->{$SurrogateHelper}->($rhProps->{'type'}) : DefaultSurrogateHelper($rhProps->{'type'});
-	}
+    if (defined $rhProps->{'id'}) {                          
+        die new IMPL::Exception("Trying to create a simple object instead of a reference, type is missing.",$name,$rhProps->{id}) unless $rhProps->{'type'} ;
+        $this->{$Context}->{$rhProps->{'id'}} = $this->{$SurrogateHelper} ? $this->{$SurrogateHelper}->($rhProps->{'type'}) : DefaultSurrogateHelper($rhProps->{'type'});
+    }
   }
   
   return 1;