mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
* PostgreSQL/Addressbook: fixed not displayed pictures
by backporting ADORecordSet_postgres64::_decode() from ADOdb 5.19
This commit is contained in:
parent
e6e0d3f83b
commit
134e50c3ca
@ -922,8 +922,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