fix: [exception] speculative fix to a check causing a 500
parent
4c1ce31d50
commit
fac19e0a3c
|
@ -12,7 +12,7 @@ class BaseNavigation
|
|||
{
|
||||
$this->bcf = $bcf;
|
||||
$this->request = $request;
|
||||
if (!empty($this->request->getAttribute('identity')->getIdentifier())) {
|
||||
if (!empty($this->request->getAttribute('identity'))) {
|
||||
$this->currentUserId = $this->request->getAttribute('identity')->getIdentifier();
|
||||
}
|
||||
$this->viewVars = $viewVars;
|
||||
|
|
Loading…
Reference in New Issue