0 has a hash key looks like svcnum = 0. Suprisingly, '' works.
[freeside.git] / httemplate / misc / catchall.cgi
index 9aa84be..3402b61 100755 (executable)
@@ -77,7 +77,7 @@ if ($pkgnum) {
 }
 
 # add an absence of a catchall
-$email{0} = "(none)";
+$email{''} = "(none)";
 
 my $p1 = popurl(1);
 print header("Domain Catchall Edit", '');