The first argument for api_format_items() must be an array
This commit is contained in:
parent
9c351bad68
commit
d0591dd882
1 changed files with 1 additions and 1 deletions
|
@ -3403,7 +3403,7 @@ function api_lists_statuses($type)
|
||||||
$_REQUEST['list_id']
|
$_REQUEST['list_id']
|
||||||
);
|
);
|
||||||
|
|
||||||
$items = api_format_items($statuses, $user_info, false, $type);
|
$items = api_format_items(dba::inArray($statuses), $user_info, false, $type);
|
||||||
|
|
||||||
$data = ['status' => $items];
|
$data = ['status' => $items];
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
|
|
Loading…
Reference in a new issue