diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-10-25 20:01:14 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-10-25 20:01:14 +0000 |
commit | b57ab43510656863f6e8303115a03a0479808f9b (patch) | |
tree | 2e71d2e985097700a4c5180bf64d322f70009cc2 /include/picture_comment.inc.php | |
parent | f609713578c2c3d9cdd0531bf0b39a7952e06ce8 (diff) |
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
Diffstat (limited to 'include/picture_comment.inc.php')
-rw-r--r-- | include/picture_comment.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |