mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-03 00:12:14 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user