aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
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',