feature 2384: improve average rating calculation (final)

git-svn-id: http://piwigo.org/svn/trunk@11839 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2011-07-26 19:04:50 +00:00
parent 630c4bb85e
commit c0bb4dfb43
8 changed files with 33 additions and 25 deletions
+1 -1
View File
@@ -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;