- bug 224 fixed: if no categories to synchronize (no directory in
"galleries" directory), crash on information retrieval from pictures uploaded by users. git-svn-id: http://piwigo.org/svn/branches/branch-1_5@966 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
0e02f343e8
commit
844506eccf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue