bug correction : if no category found, no element to search in get_filelist

git-svn-id: http://piwigo.org/svn/trunk@590 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-11-02 23:25:27 +00:00
parent b1db5e55ae
commit 5b7c761bbf
+5
View File
@@ -297,6 +297,11 @@ SELECT id, uppercats
$uppercats_array[$row['id']] = $row['uppercats'];
}
if (count($uppercats_array) == 0)
{
return array();
}
$query = '
SELECT galleries_url
FROM '.SITES_TABLE.'