diff options
author | nikrou <nikrou@piwigo.org> | 2006-04-21 19:36:53 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2006-04-21 19:36:53 +0000 |
commit | 55ea2a8d5457ed3a2c8709f2a48d276dff318525 (patch) | |
tree | 0dadc8edd6fb9834fd8031c7597df4190c40d7a3 | |
parent | 289ae2a4692746a089ca2a5e2a59901d94923c63 (diff) |
bug fixed: add test on $_POST['list']
problem when clicking on validate-all or remove-all
and when the list of waiting is empty
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1235 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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']); } |