mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
related to #1644 synced photos are not orphans anymore.
This commit is contained in:
@@ -373,11 +373,8 @@ while ($row = pwg_db_fetch_assoc($result))
|
||||
{
|
||||
$template->assign('STORAGE_CATEGORY', $name);
|
||||
}
|
||||
else
|
||||
{
|
||||
$related_categories[$row['category_id']] = $name;
|
||||
$related_categories_ids[] = $row['category_id'];
|
||||
}
|
||||
$related_categories[$row['category_id']] = $name;
|
||||
$related_categories_ids[] = $row['category_id'];
|
||||
}
|
||||
|
||||
$template->assign('related_categories', $related_categories);
|
||||
|
||||
Reference in New Issue
Block a user