mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user