mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
VKAPI: descuido del desarrollador momento, number tres
Somehow for Friends.getRequests extended parameter was required to use fiels. Now it's not
This commit is contained in:
parent
aca48e726e
commit
700dcc121d
1 changed files with 1 additions and 4 deletions
|
@ -152,10 +152,7 @@ final class Friends extends VKAPIRequestHandler
|
||||||
$response = $followers;
|
$response = $followers;
|
||||||
$usersApi = new Users($this->getUser());
|
$usersApi = new Users($this->getUser());
|
||||||
|
|
||||||
if($extended == 1)
|
|
||||||
$response = $usersApi->get(implode(',', $followers), $fields, 0, $count);
|
$response = $usersApi->get(implode(',', $followers), $fields, 0, $count);
|
||||||
else
|
|
||||||
$response = $usersApi->get(implode(',', $followers), "", 0, $count);
|
|
||||||
|
|
||||||
foreach($response as $user)
|
foreach($response as $user)
|
||||||
$user->user_id = $user->id;
|
$user->user_id = $user->id;
|
||||||
|
|
Loading…
Reference in a new issue