mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
VKAPI: Fix funny bug when id is outputed as string if profile is deactivated
Closes #637
This commit is contained in:
parent
bbdfb04c01
commit
71b9c57030
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ final class Users extends VKAPIRequestHandler
|
|||
$usr = $users->get((int) $usrs[$i]);
|
||||
if(is_null($usr) || $usr->isDeleted()) {
|
||||
$response[$i] = (object)[
|
||||
"id" => $usrs[$i],
|
||||
"id" => (int) $usrs[$i],
|
||||
"first_name" => "DELETED",
|
||||
"last_name" => "",
|
||||
"deactivated" => "deleted"
|
||||
|
|
Loading…
Reference in a new issue