This commit is contained in:
Daniil Gentili 2019-06-14 12:36:08 +02:00
parent 4cfe1467ff
commit 48686e0efa

View File

@ -239,7 +239,7 @@ class API extends APIFactory
public function my_get_self()
{
return $this->API->authorization['user'];
return isset($this->API) && isset($this->API->authorization['user']) ? $this->API->authorization['user'] : false;
}
public function APIFactory()