* PostgreSQL/Addressbook: fixed not displayed pictures

by backporting ADORecordSet_postgres64::_decode() from ADOdb 5.19
This commit is contained in:
Ralf Becker 2014-06-25 15:43:20 +00:00
parent 6849109e2a
commit 9f450a8132

View File

@ -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()