mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 19:13: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();
|
$ret = array();
|
||||||
foreach ($tasks as $task) {
|
foreach ($tasks as $task) {
|
||||||
$ret[] = array(
|
$ret[$task->get_task_id()] = array(
|
||||||
'id' => $task->get_task_id(),
|
'id' => $task->get_task_id(),
|
||||||
'status' => $task->get_status(),
|
'status' => $task->get_status(),
|
||||||
'pid' => $task->get_pid(),
|
'pid' => $task->get_pid(),
|
||||||
|
Reference in New Issue
Block a user