mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +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)
|
function _decode($blob)
|
||||||
{
|
{
|
||||||
eval('$realblob="'.adodb_str_replace(array('"','$'),array('\"','\$'),$blob).'";');
|
if ($blob === NULL) return NULL;
|
||||||
return $realblob;
|
return pg_unescape_bytea($blob);
|
||||||
}
|
}
|
||||||
|
|
||||||
function _fixblobs()
|
function _fixblobs()
|
||||||
|
Loading…
Reference in New Issue
Block a user