From b57ab43510656863f6e8303115a03a0479808f9b Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 25 Oct 2012 20:01:14 +0000 Subject: related categories on picture page contain status and visible db fields (useful for example for "social" plugins to know if a photo is public or not) git-svn-id: http://piwigo.org/svn/trunk@18747 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/picture_comment.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/picture_comment.inc.php') diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php index 5d007d4ea..df823edbc 100644 --- a/include/picture_comment.inc.php +++ b/include/picture_comment.inc.php @@ -31,7 +31,7 @@ $page['show_comments'] = false; foreach ($related_categories as $category) { - if ($category['commentable']) + if ($category['commentable']=='true') { $page['show_comments'] = true; break; -- cgit v1.2.3