* PostgreSQL/EMailAdmin: fixed not storable EMailAdmin profiles

reverted part of r34602, which converted boolean values to true/false
This commit is contained in:
Ralf Becker 2011-04-29 10:35:10 +00:00
parent 61566c2b56
commit d4ead55c50

View File

@ -256,8 +256,6 @@ select viewname,'V' from pg_views where viewname like $mask";
// if magic quotes disabled, use pg_escape_string() // if magic quotes disabled, use pg_escape_string()
function qstr($s,$magic_quotes=false) function qstr($s,$magic_quotes=false)
{ {
if (is_bool($s)) return $s ? 'true' : 'false';
if (!$magic_quotes) { if (!$magic_quotes) {
if (ADODB_PHPVER >= 0x5200) { if (ADODB_PHPVER >= 0x5200) {
return "'".pg_escape_string($this->_connectionID,$s)."'"; return "'".pg_escape_string($this->_connectionID,$s)."'";