diff Lib/IMPL/DOM/Transform/ObjectToDOM.pm @ 391:2287c72f303a

code cleanup
author cin
date Thu, 13 Feb 2014 20:17:22 +0400
parents 4cc6cc370fb2
children
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Transform/ObjectToDOM.pm	Wed Feb 12 18:02:03 2014 +0400
+++ b/Lib/IMPL/DOM/Transform/ObjectToDOM.pm	Thu Feb 13 20:17:22 2014 +0400
@@ -128,7 +128,7 @@
     my ($this,$data) = @_;
     
     return $this->StoreObject($this->currentNode,$data)
-        if !$this->currentNode->schema->isa(ComplexNode);
+        if !$this->currentNode->schemaType->isa(ComplexNode);
     
     if ( ref $data and eval { $data->can('GetMeta') } ) {
         my %props = map {