diff options
-rw-r--r-- | src/SVG/SVG2zinc.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SVG/SVG2zinc.pm b/src/SVG/SVG2zinc.pm index 2b1bef2..f344b96 100644 --- a/src/SVG/SVG2zinc.pm +++ b/src/SVG/SVG2zinc.pm @@ -953,7 +953,7 @@ my %convertFormat = ( sub image { my ($parser, $elementname, %attrs) = @_; push (@nameStack, $attrs{id}); - if(!defined ($attrs{id}) or ($attrs{id} eq $targetName)) + if($attrs{id} eq $targetName) { $includeFollowingItems = 1; } |