Commit 8b3d04f3 authored by Mike Hibler's avatar Mike Hibler

Fix a perl nit.

parent 9141c149
...@@ -446,7 +446,7 @@ while (1) { ...@@ -446,7 +446,7 @@ while (1) {
my $idid = "$imageid/$mustwipe"; my $idid = "$imageid/$mustwipe";
$images{$node} = $imageid; $images{$node} = $imageid;
if (@{$imagenodes{$idid}} > 0) { if (exists($imagenodes{$idid})) {
push(@{$imagenodes{$idid}},$node); push(@{$imagenodes{$idid}},$node);
} else { } else {
$imagenodes{$idid} = [$node]; $imagenodes{$idid} = [$node];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment