From fe8330d14f762b05dbc213296f3b6866e58e0218 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 27 Oct 2012 07:18:32 +0000 Subject: fix php warning + removed unnecessary   git-svn-id: http://piwigo.org/svn/trunk@18757 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'picture.php') diff --git a/picture.php b/picture.php index e394ddf96..a791ea959 100644 --- a/picture.php +++ b/picture.php @@ -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', -- cgit v1.2.3