1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-31 18:11:56 +02:00

Error fixes

This commit is contained in:
CaMer0n
2011-07-10 23:21:09 +00:00
parent 695dbdfa32
commit 4b3703278c
7 changed files with 24 additions and 38 deletions

View File

@@ -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)
{