- Quickfix from error found during PHP 8 migration
This commit is contained in:
parent
3550d9aaa7
commit
9ce8e7515a
|
@ -96,7 +96,7 @@ class Routing {
|
|||
return $redirect;
|
||||
}
|
||||
|
||||
if ( $forbidden = $this->security->taxus($class, $method, $object->user) ) {
|
||||
if ( $forbidden = $this->security->taxus($class, $method, $object->user ?? null) ) {
|
||||
|
||||
return $forbidden;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue