mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 02:54:26 +00:00
set taskId as array key
This commit is contained in:
@@ -126,7 +126,7 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
|
||||
$ret = array();
|
||||
foreach ($tasks as $task) {
|
||||
$ret[] = array(
|
||||
$ret[$task->get_task_id()] = array(
|
||||
'id' => $task->get_task_id(),
|
||||
'status' => $task->get_status(),
|
||||
'pid' => $task->get_pid(),
|
||||
|
Reference in New Issue
Block a user