fixed cache encoding

This commit is contained in:
Ulf Gebhardt 2014-01-24 22:29:51 +01:00
parent 851db546ba
commit 6830007ae9

2
cache/cache.php vendored
View File

@ -19,7 +19,7 @@ class cache {
self::del($cache_id, $ident);
}
$result = \SYSTEM\DBD\SYS_CACHE_PUT::Q1(array($cache_id,$ident,$data));
$result = \SYSTEM\DBD\SYS_CACHE_PUT::Q1(array($cache_id,$ident, pg_escape_bytea($data)));
return $result ? $data : NULL;
}