aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/update.php b/admin/update.php
index 93e4f300f..bb7133000 100644
--- a/admin/update.php
+++ b/admin/update.php
@@ -469,7 +469,7 @@ SELECT IF(MAX(id)+1 IS NULL, 1, MAX(id)+1) AS next_element_id
echo ' -->'."\n";
// retrieving informations given by uploaders
- if (!$simulate)
+ if (!$simulate and count($cat_ids) > 0)
{
$query = '
SELECT id,file,storage_category_id,infos