diff --git a/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php b/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php index 51f5fa257b..4b9042421d 100644 --- a/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php +++ b/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php @@ -256,8 +256,6 @@ select viewname,'V' from pg_views where viewname like $mask"; // if magic quotes disabled, use pg_escape_string() function qstr($s,$magic_quotes=false) { - if (is_bool($s)) return $s ? 'true' : 'false'; - if (!$magic_quotes) { if (ADODB_PHPVER >= 0x5200) { return "'".pg_escape_string($this->_connectionID,$s)."'";