mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
json_encode instead of PHP serialized
This commit is contained in:
parent
d422d2ea8d
commit
94a0465616
@ -501,8 +501,8 @@ class asyncservice
|
|||||||
$jobs = array();
|
$jobs = array();
|
||||||
foreach($this->db->select($this->db_table,$cols,$where,__LINE__,__FILE__,$offset,$append,False,$num_rows) as $row)
|
foreach($this->db->select($this->db_table,$cols,$where,__LINE__,__FILE__,$offset,$append,False,$num_rows) as $row)
|
||||||
{
|
{
|
||||||
$row['async_times'] = php_json_unserialize($row['async_times']);
|
$row['async_times'] = json_php_unserialize($row['async_times']);
|
||||||
$row['async_data'] = php_json_unserialize($row['async_data']);
|
$row['async_data'] = json_php_unserialize($row['async_data']);
|
||||||
$jobs[$row['async_id']] = egw_db::strip_array_keys($row,'async_');
|
$jobs[$row['async_id']] = egw_db::strip_array_keys($row,'async_');
|
||||||
}
|
}
|
||||||
if (!count($jobs))
|
if (!count($jobs))
|
||||||
|
Loading…
Reference in New Issue
Block a user