mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +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
|
@ -13,6 +13,9 @@ final class Users extends VKAPIRequestHandler
|
||||||
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