The first argument for api_format_items() must be an array

This commit is contained in:
Pierre Rudloff 2018-04-08 01:05:33 +02:00
parent 9c351bad68
commit d0591dd882

View File

@ -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) {