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