mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-07 13:55:03 +02:00
- 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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user