Put back editing of smtp client restrictions
authorJamie Cameron <jcameron@webmin.com>
Mon, 29 Sep 2008 21:14:31 +0000 (21:14 +0000)
committerJamie Cameron <jcameron@webmin.com>
Mon, 29 Sep 2008 21:14:31 +0000 (21:14 +0000)
postfix/client.cgi

index 065766c..53fb9d1 100755 (executable)
@@ -46,7 +46,7 @@ foreach $r (&list_multi_client_restrictions()) {
        foreach $v (@v) {
                $done{$opts[$v+1]} = 1;
                }
-       if ($r eq "check_client_access" && defined($v)) {
+       if ($r eq "check_client_access" && @v) {
                # Can show client access map
                $has_client_access = 1;
                }