mirror of
https://github.com/e107inc/e107.git
synced 2025-08-31 18:11:56 +02:00
Error fixes
This commit is contained in:
@@ -596,6 +596,13 @@ class media_admin_ui extends e_admin_ui
|
||||
$mes = e107::getMessage();
|
||||
$sql = e107::getDb();
|
||||
$tp = e107::getParser();
|
||||
|
||||
if(!count($_POST['batch_selected']))
|
||||
{
|
||||
$mes->addError("Please check at least one image.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
foreach($_POST['batch_selected'] as $file)
|
||||
{
|
||||
|
Reference in New Issue
Block a user