forked from extern/egroupware
* PostgreSQL/Addressbook: fixed not displayed pictures
by backporting ADORecordSet_postgres64::_decode() from ADOdb 5.19
This commit is contained in:
parent
6849109e2a
commit
9f450a8132
@ -924,8 +924,8 @@ class ADORecordSet_postgres64 extends ADORecordSet{
|
||||
|
||||
function _decode($blob)
|
||||
{
|
||||
eval('$realblob="'.adodb_str_replace(array('"','$'),array('\"','\$'),$blob).'";');
|
||||
return $realblob;
|
||||
if ($blob === NULL) return NULL;
|
||||
return pg_unescape_bytea($blob);
|
||||
}
|
||||
|
||||
function _fixblobs()
|
||||
|
Loading…
Reference in New Issue
Block a user