fix: [unauthed] users internal error fixed
parent
d35a674505
commit
4c1ce31d50
|
@ -12,7 +12,9 @@ class BaseNavigation
|
||||||
{
|
{
|
||||||
$this->bcf = $bcf;
|
$this->bcf = $bcf;
|
||||||
$this->request = $request;
|
$this->request = $request;
|
||||||
$this->currentUserId = $this->request->getAttribute('identity')->getIdentifier();
|
if (!empty($this->request->getAttribute('identity')->getIdentifier())) {
|
||||||
|
$this->currentUserId = $this->request->getAttribute('identity')->getIdentifier();
|
||||||
|
}
|
||||||
$this->viewVars = $viewVars;
|
$this->viewVars = $viewVars;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue