mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Fix weird reference to "owner" column in Post::getOwnerPost
This commit is contained in:
parent
150061840d
commit
b1fbb7560c
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class Post extends Postable
|
|||
|
||||
function getOwnerPost(): int
|
||||
{
|
||||
return $this->getRecord()->owner;
|
||||
return $this->getOwner(false)->getId();
|
||||
}
|
||||
|
||||
function pin(): void
|
||||
|
|
Loading…
Reference in a new issue