Mercurial > pub > Impl
diff Lib/IMPL/DOM/Transform/PostToDOM.pm @ 151:e36ffd8c29db
Fixed major bug in conversion from a POST request to the DOM document (when instanceId == 0)
minor fixes
author | wizard |
---|---|
date | Fri, 20 Aug 2010 16:33:37 +0400 |
parents | e6447ad85cb4 |
children | 1e7f03414b65 |
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Transform/PostToDOM.pm Fri Aug 20 08:28:43 2010 +0400 +++ b/Lib/IMPL/DOM/Transform/PostToDOM.pm Fri Aug 20 16:33:37 2010 +0400 @@ -51,7 +51,7 @@ my $value = $data->{$key->[0]}; my $node = $navi->NavigateCreate($key->[1]); - $node->nodeProperty(instanceId => $key->[2]) if $key->[2]; + $node->nodeProperty(instanceId => $key->[2]) if defined $key->[2]; $this->Transform($value);