aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-06-23 18:35:21 +0000
committernikrou <nikrou@piwigo.org>2010-06-23 18:35:21 +0000
commit24d68bed062ae2c953ee4c6defc6145de2d11ac6 (patch)
treef1bc194b7a80968eb1c2ed21482b46378148dba6 /picture.php
parentd28c348908e281f4bb7ed61dd0854e9bced5d4d7 (diff)
Fix bug 1743 : comment form is not visible because of boolean management
merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.1@6592 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/picture.php b/picture.php
index 80679b19f..9b94d8c73 100644
--- a/picture.php
+++ b/picture.php
@@ -410,6 +410,7 @@ $result = pwg_query($query);
$related_categories = array();
while ($row = pwg_db_fetch_assoc($result))
{
+ $row['commentable'] = boolean_to_string($row['commentable']);
array_push($related_categories, $row);
}
usort($related_categories, 'global_rank_compare');