Fix empty accounts[] bug
This commit is contained in:
parent
c1f2e391b0
commit
9c8d9e83ac
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ class Following extends BaseApi
|
||||||
$params['order'] = ['cid'];
|
$params['order'] = ['cid'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$accounts = [];
|
||||||
|
|
||||||
$followers = DBA::select('contact-relation', ['cid'], $condition, $params);
|
$followers = DBA::select('contact-relation', ['cid'], $condition, $params);
|
||||||
while ($follower = DBA::fetch($followers)) {
|
while ($follower = DBA::fetch($followers)) {
|
||||||
self::setBoundaries($follower['cid']);
|
self::setBoundaries($follower['cid']);
|
||||||
|
|
Loading…
Reference in a new issue