mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fix php warning + removed unnecessary
git-svn-id: http://piwigo.org/svn/trunk@18757 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -908,7 +908,7 @@ if ( count($tags) )
|
||||
// related categories
|
||||
if ( count($related_categories)==1 and
|
||||
isset($page['category']) and
|
||||
$related_categories[0]['category_id']==$page['category']['id'] )
|
||||
$related_categories[0]['id']==$page['category']['id'] )
|
||||
{ // no need to go to db, we have all the info
|
||||
$template->append(
|
||||
'related_categories',
|
||||
|
||||
Reference in New Issue
Block a user