common/tools/bitops.pl
changeset 1182 f15fa527df95
parent 1176 5fcaa694186a
child 1280 61388ab6ba2c
--- a/common/tools/bitops.pl	Wed Jul 14 12:29:45 2010 +0100
+++ b/common/tools/bitops.pl	Wed Jul 14 13:17:28 2010 +0100
@@ -148,7 +148,7 @@
           my $category = $1;
           my $count = $2;
           
-          if (!$category || !$count)
+          if (!$category || !defined $count || $count eq '')
           {
             print "ERROR: Category or count empty: \"$value\"\n";
             return 1;