https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c351ba
)
The first argument for api_format_items() must be an array
author
Pierre Rudloff
<contact@rudloff.pro>
Sat, 7 Apr 2018 23:05:33 +0000
(
01:05
+0200)
committer
Pierre Rudloff
<contact@rudloff.pro>
Sat, 7 Apr 2018 23:06:40 +0000
(
01:06
+0200)
include/api.php
patch
|
blob
|
history
diff --git
a/include/api.php
b/include/api.php
index
34b1352
..
fd5d22d
100644
(file)
--- a/
include/api.php
+++ b/
include/api.php
@@
-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) {