diff options
author | nikrou <nikrou@piwigo.org> | 2010-06-23 18:34:45 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-06-23 18:34:45 +0000 |
commit | 5561730d35402c63ef62b449e451491534deb9af (patch) | |
tree | f074f5cd8256c1bec90e597096b87afd2b066f83 /include | |
parent | 186e9df5af48f258a3b0f87a112c73cf2731cafd (diff) |
Bug 1743 fixed : comment form is not visible because of boolean management
git-svn-id: http://piwigo.org/svn/trunk@6591 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/dblayer/functions_pgsql.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dblayer/functions_pgsql.inc.php b/include/dblayer/functions_pgsql.inc.php index 3c68f7816..a9f033fc3 100644 --- a/include/dblayer/functions_pgsql.inc.php +++ b/include/dblayer/functions_pgsql.inc.php @@ -512,6 +512,10 @@ function boolean_to_string($var) { return $var ? 'true' : 'false'; } + elseif ($var=='t' || $var=='f') + { + return ($var=='t') ? 'true' : 'false'; + } else { return $var; |