forked from extern/egroupware
prevent invinit recursion if read_repository() is called without $this->account_id set
This commit is contained in:
parent
9f59a77b85
commit
4e2ed78789
@ -747,7 +747,7 @@ class accounts extends accounts_backend
|
||||
*/
|
||||
function read_repository()
|
||||
{
|
||||
return $this->data = $this->read($this->account_id,true);
|
||||
return $this->data = $this->account_id ? $this->read($this->account_id,true) : array();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user