prevent invinit recursion if read_repository() is called without $this->account_id set

This commit is contained in:
Ralf Becker 2006-06-18 04:58:02 +00:00
parent 9f59a77b85
commit 4e2ed78789

View File

@ -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();
}
/**