mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* 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