mirror of
https://github.com/openvk/openvk
synced 2025-03-14 21:45:22 +03:00
int
This commit is contained in:
parent
c7e76ccb11
commit
9ff4ff4b4b
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ abstract class Postable extends Attachable
|
||||||
{
|
{
|
||||||
$oid = (int) $this->getRecord()->owner;
|
$oid = (int) $this->getRecord()->owner;
|
||||||
if(!$real && $this->isAnonymous())
|
if(!$real && $this->isAnonymous())
|
||||||
$oid = OPENVK_ROOT_CONF["openvk"]["preferences"]["wall"]["anonymousPosting"]["account"];
|
$oid = (int) OPENVK_ROOT_CONF["openvk"]["preferences"]["wall"]["anonymousPosting"]["account"];
|
||||||
|
|
||||||
if($oid > 0)
|
if($oid > 0)
|
||||||
return (new Users)->get($oid);
|
return (new Users)->get($oid);
|
||||||
|
|
Loading…
Reference in a new issue