mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 18:53:01 +02:00
related to #1609 new created album is public by default and visit in gallery btn must be clickable
This commit is contained in:
+1
-1
@@ -189,7 +189,7 @@ SELECT
|
||||
$orderedCat['id'] = $cat['cat']['id'];
|
||||
$orderedCat['nb_images'] = isset($nb_photos_in[$cat['cat']['id']]) ? $nb_photos_in[$cat['cat']['id']] : 0;
|
||||
$orderedCat['last_updates'] = $cat['cat']['lastmodified'];
|
||||
$orderedCat['has_access'] = cat_admin_access($cat['cat']['id']);
|
||||
$orderedCat['has_not_access'] = !cat_admin_access($cat['cat']['id']);
|
||||
if (isset($cat['children']))
|
||||
{
|
||||
//Does not update when moving a node
|
||||
|
||||
Reference in New Issue
Block a user