The first argument for api_format_items() must be an array
This commit is contained in:
parent
9c351bad68
commit
d0591dd882
@ -3403,7 +3403,7 @@ function api_lists_statuses($type)
|
||||
$_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];
|
||||
switch ($type) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user