Bugfix
This commit is contained in:
parent
4cfe1467ff
commit
48686e0efa
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user