diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-07-26 19:04:50 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-07-26 19:04:50 +0000 |
commit | c0bb4dfb43d05d68cb4abe69e279e91c88bd2f11 (patch) | |
tree | d82bf347d8b4a5deb8532371e7073e2692737bec /include/picture_comment.inc.php | |
parent | 630c4bb85e82c956053526255097f3fa706427b4 (diff) |
feature 2384: improve average rating calculation (final)
git-svn-id: http://piwigo.org/svn/trunk@11839 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 ec92594e8..064e02056 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'] == 'true') + if ($category['commentable']) { $page['show_comments'] = true; break; |