mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
bug 1022 fixed: a photo can be associateed to no category (now that a photo
can have NULL as storage_category_id, it's possible to have no associated category), the admin/picture_modify doesn't break anymore. git-svn-id: http://piwigo.org/svn/branches/2.0@3389 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -412,7 +412,7 @@ $query.= '
|
||||
display_select_cat_wrapper($query, array(), 'associated_options');
|
||||
|
||||
$result = pwg_query($query);
|
||||
$associateds = array();
|
||||
$associateds = array(-1);
|
||||
if (isset($storage_category_id))
|
||||
{
|
||||
array_push($associateds, $storage_category_id);
|
||||
|
||||
Reference in New Issue
Block a user