mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Fix: array_reverse returns the reversed content as return value
This commit is contained in:
parent
a2f1bf6a83
commit
d57cb05a24
23 changed files with 23 additions and 23 deletions
|
@ -79,7 +79,7 @@ class Ids extends ContactEndpoint
|
|||
DBA::close($contacts);
|
||||
|
||||
if (!empty($min_id)) {
|
||||
array_reverse($ids);
|
||||
$ids = array_reverse($ids);
|
||||
}
|
||||
|
||||
$return = self::ids($ids, $total_count, $cursor, $count, $stringify_ids);
|
||||
|
|
|
@ -80,7 +80,7 @@ class Lists extends ContactEndpoint
|
|||
DBA::close($contacts);
|
||||
|
||||
if (!empty($min_id)) {
|
||||
array_reverse($ids);
|
||||
$ids = array_reverse($ids);
|
||||
}
|
||||
|
||||
$return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities);
|
||||
|
|
|
@ -84,7 +84,7 @@ class Ids extends ContactEndpoint
|
|||
DBA::close($followers);
|
||||
|
||||
if (!empty($min_id)) {
|
||||
array_reverse($ids);
|
||||
$ids = array_reverse($ids);
|
||||
}
|
||||
|
||||
$return = self::ids($ids, $total_count, $cursor, $count, $stringify_ids);
|
||||
|
|
|
@ -85,7 +85,7 @@ class Lists extends ContactEndpoint
|
|||
DBA::close($followers);
|
||||
|
||||
if (!empty($min_id)) {
|
||||
array_reverse($ids);
|
||||
$ids = array_reverse($ids);
|
||||
}
|
||||
|
||||
$return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities);
|
||||
|
|
|
@ -84,7 +84,7 @@ class Ids extends ContactEndpoint
|
|||
DBA::close($followers);
|
||||
|
||||
if (!empty($min_id)) {
|
||||
array_reverse($ids);
|
||||
$ids = array_reverse($ids);
|
||||
}
|
||||
|
||||
$return = self::ids($ids, $total_count, $cursor, $count, $stringify_ids);
|
||||
|
|
|
@ -85,7 +85,7 @@ class Lists extends ContactEndpoint
|
|||
DBA::close($followers);
|
||||
|
||||
if (!empty($min_id)) {
|
||||
array_reverse($ids);
|
||||
$ids = array_reverse($ids);
|
||||
}
|
||||
|
||||
$return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities);
|
||||
|
|
|
@ -79,7 +79,7 @@ class Incoming extends ContactEndpoint
|
|||
DBA::close($contacts);
|
||||
|
||||
if (!empty($min_id)) {
|
||||
array_reverse($ids);
|
||||
$ids = array_reverse($ids);
|
||||
}
|
||||
|
||||
$return = self::ids($ids, $total_count, $cursor, $count, $stringify_ids);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue