Show clear all AWL button always:
authorJamie Cameron <jcameron@webmin.com>
Thu, 25 Jun 2009 22:41:14 +0000 (22:41 +0000)
committerJamie Cameron <jcameron@webmin.com>
Thu, 25 Jun 2009 22:41:14 +0000 (22:41 +0000)
spam/edit_awl.cgi

index 4106049..495a2e4 100644 (file)
@@ -20,8 +20,7 @@ if (&supports_auto_whitelist() == 2) {
 
        if (!$in{'user'}) {
                # Can't do any more
-               &ui_print_footer("", $text{'index_return'});
-               return;
+               goto BUTTONS;
                }
        }
 
@@ -108,6 +107,7 @@ else {
 &close_auto_whitelist_dbm();
 
 # Show delete buttons
+BUTTONS:
 print &ui_hr();
 print &ui_buttons_start();
 if ($in{'user'} || &supports_auto_whitelist() == 1) {