- 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
This commit is contained in:
plegall
2005-12-03 22:03:58 +00:00
parent bb9e2c0e48
commit e90d20d2be
+1 -1
View File
@@ -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