aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index 6e4a73709..c4dd73154 100644
--- a/picture.php
+++ b/picture.php
@@ -784,7 +784,7 @@ foreach ($cat_array as $category)
}
// the picture is commentable if it belongs at least to one category which
// is commentable
- if ($category['commentable'])
+ if ($category['commentable'] == 'true')
{
$page['show_comments'] = true;
}