json_encode instead of PHP serialized

This commit is contained in:
Ralf Becker 2014-06-27 08:48:47 +00:00
parent d422d2ea8d
commit 94a0465616

View File

@ -501,8 +501,8 @@ class asyncservice
$jobs = array();
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_data'] = php_json_unserialize($row['async_data']);
$row['async_times'] = json_php_unserialize($row['async_times']);
$row['async_data'] = json_php_unserialize($row['async_data']);
$jobs[$row['async_id']] = egw_db::strip_array_keys($row,'async_');
}
if (!count($jobs))