fixed cache encoding
This commit is contained in:
parent
851db546ba
commit
6830007ae9
2
cache/cache.php
vendored
2
cache/cache.php
vendored
@ -19,7 +19,7 @@ class cache {
|
|||||||
self::del($cache_id, $ident);
|
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;
|
return $result ? $data : NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user