projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11ce731
)
Zero is a valid value for an tag. bug #3399
author
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 27 Apr 2010 16:33:47 +0000
(18:33 +0200)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 27 Apr 2010 16:33:47 +0000
(18:33 +0200)
lib/ZOOM/IRSpy/Utils.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Utils.pm
b/lib/ZOOM/IRSpy/Utils.pm
index
4c73adf
..
2f76045
100644
(file)
--- a/
lib/ZOOM/IRSpy/Utils.pm
+++ b/
lib/ZOOM/IRSpy/Utils.pm
@@
-352,7
+352,7
@@
sub modify_xml_document {
}
} else {
- next if !$value; # No need to create a new empty node
+ next if !defined $value; # No need to create a new empty node
my($ppath, $selector) = $xpath =~ /(.*)\/(.*)/;
dom_add_node($xc, $ppath, $selector, $value, @addAfter);
#print "New $key ($xpath) = '$value'<br/>\n";