mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
Jump to category icon is removed on user forbidden categories (previously check_restrictions was leading administrators to the access denied page).
git-svn-id: http://piwigo.org/svn/branches/2.0@2776 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -235,6 +235,7 @@ if (!empty($category['id_uppercat']))
|
||||
$template->assign(
|
||||
array(
|
||||
'CATEGORIES_NAV' => $navigation,
|
||||
'CAT_ID' => $category['id'],
|
||||
'CAT_NAME' => @htmlspecialchars($category['name']),
|
||||
'CAT_COMMENT' => @htmlspecialchars($category['comment']),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user