diff options
Diffstat (limited to 'admin')
-rw-r--r-- | admin/waiting.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/waiting.php b/admin/waiting.php index 3408538e2..af4cb607f 100644 --- a/admin/waiting.php +++ b/admin/waiting.php @@ -65,11 +65,11 @@ if (isset($_POST)) } } } - else if (isset($_POST['validate-all'])) + elseif (isset($_POST['validate-all']) and !empty($_POST['list'])) { $to_validate = explode(',', $_POST['list']); } - else if (isset($_POST['reject-all'])) + elseif (isset($_POST['reject-all']) and !empty($_POST['list'])) { $to_reject = explode(',', $_POST['list']); } |