aboutsummaryrefslogtreecommitdiffstats
path: root/include/dblayer/functions_pgsql.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/dblayer/functions_pgsql.inc.php')
-rw-r--r--include/dblayer/functions_pgsql.inc.php4
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;