DirectorObjectForm: fallback, static auth

This commit is contained in:
Thomas Gelf 2017-07-13 16:29:28 +02:00
parent c58d9f321b
commit b9fd1f42d9
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ abstract class DirectorObjectForm extends DirectorForm
public function getAuth()
{
if ($this->auth === null) {
$this->auth = Auth::getInstance();
}
return $this->auth;
}