mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #1570 render parent album name in related albums menu
This commit is contained in:
@@ -759,11 +759,11 @@ SELECT
|
||||
{
|
||||
$index_of_cat[ $cat['id'] ] = $idx;
|
||||
$cats[$idx]['LEVEL'] = substr_count($cat['global_rank'], '.') + 1;
|
||||
$cats[$idx]['name'] = trigger_change('render_category_name', $cat['name'], $cat);
|
||||
|
||||
// if the category is directly linked to the items, we add an URL + counter
|
||||
if (isset($common_cats[ $cat['id'] ]))
|
||||
{
|
||||
$cats[$idx]['name'] = trigger_change('render_category_name', $cat['name'], $cat);
|
||||
$cats[$idx]['count_images'] = $common_cats[ $cat['id'] ]['counter'];
|
||||
|
||||
$url_params = array();
|
||||
|
||||
Reference in New Issue
Block a user