mirror of
https://github.com/openvk/openvk
synced 2025-06-07 21:04:40 +03:00
fix: contacts field that duplicated to each item
This commit is contained in:
parent
782046349a
commit
003350beaf
2 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ final class Account extends VKAPIRequestHandler
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$user->save();
|
$user->save();
|
||||||
} catch(\TypeError $e) {
|
} catch (\TypeError $e) {
|
||||||
$output["changed"] = 0;
|
$output["changed"] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -245,7 +245,7 @@ final class Groups extends VKAPIRequestHandler
|
||||||
$response[$i]->suggested_count = $clb->getSuggestedPostsCount($this->getUser());
|
$response[$i]->suggested_count = $clb->getSuggestedPostsCount($this->getUser());
|
||||||
break;
|
break;
|
||||||
case "contacts":
|
case "contacts":
|
||||||
$contacts;
|
$contacts = [];
|
||||||
$contactTmp = $clb->getManagers(1, true);
|
$contactTmp = $clb->getManagers(1, true);
|
||||||
|
|
||||||
foreach ($contactTmp as $contact) {
|
foreach ($contactTmp as $contact) {
|
||||||
|
|
Loading…
Reference in a new issue