aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-12-03 22:03:58 +0000
committerplegall <plg@piwigo.org>2005-12-03 22:03:58 +0000
commite90d20d2be0a7ac9ab11d7a36e1f0bbd28985023 (patch)
tree291770593af146aff3b99c46d6910f23185824b9
parentbb9e2c0e4885b0b9b96a9d94ad42443681685117 (diff)
- merge -r965:966 from branches/branch-1_5 into trunk (bug 224 fixed)
git-svn-id: http://piwigo.org/svn/trunk@967 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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