mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
dghnryjtyj (#972)
This commit is contained in:
parent
c2b6db1b8a
commit
69d0739ef1
2 changed files with 2 additions and 2 deletions
|
@ -211,7 +211,7 @@ final class Notes extends VKAPIRequestHandler
|
|||
$items = [];
|
||||
|
||||
$note = (new NotesRepo)->getNoteById((int)$id[0], (int)$id[1]);
|
||||
if($note) {
|
||||
if($note && !$note->isDeleted()) {
|
||||
$nodez->notes[] = $note->toVkApiStruct();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -124,7 +124,7 @@ class Note extends Postable
|
|||
$res = (object) [];
|
||||
|
||||
$res->type = "note";
|
||||
$res->id = $this->getId();
|
||||
$res->id = $this->getVirtualId();
|
||||
$res->owner_id = $this->getOwner()->getId();
|
||||
$res->title = $this->getName();
|
||||
$res->text = $this->getText();
|
||||
|
|
Loading…
Reference in a new issue