mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
* PostgreSQL/EMailAdmin: fixed not storable EMailAdmin profiles
reverted part of r34602, which converted boolean values to true/false
This commit is contained in:
parent
61566c2b56
commit
d4ead55c50
@ -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)."'";
|
||||||
|
Loading…
Reference in New Issue
Block a user