DirectorObjectForm: fallback, static auth
This commit is contained in:
parent
c58d9f321b
commit
b9fd1f42d9
|
@ -78,6 +78,9 @@ abstract class DirectorObjectForm extends DirectorForm
|
|||
|
||||
public function getAuth()
|
||||
{
|
||||
if ($this->auth === null) {
|
||||
$this->auth = Auth::getInstance();
|
||||
}
|
||||
return $this->auth;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue