mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
VKAPI: fix php 8 issue when DELETED appears in empty friend list
This commit is contained in:
parent
784b19aaf7
commit
626b5b49bb
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ final class Users extends VKAPIRequestHandler
|
||||||
$users = new UsersRepo;
|
$users = new UsersRepo;
|
||||||
if($user_ids == "0")
|
if($user_ids == "0")
|
||||||
$user_ids = (string) $authuser->getId();
|
$user_ids = (string) $authuser->getId();
|
||||||
|
|
||||||
|
if($user_ids == "")
|
||||||
|
return array();
|
||||||
|
|
||||||
$usrs = explode(',', $user_ids);
|
$usrs = explode(',', $user_ids);
|
||||||
$response = array();
|
$response = array();
|
||||||
|
|
Loading…
Reference in a new issue