Merge pull request #19053 from nextcloud/bugfix/noid/opsy-fix-loaded-controller-check
Fix loaded controller check
This commit is contained in:
commit
a54d89a8fc
|
@ -131,7 +131,7 @@ class SecurityMiddleware extends Middleware {
|
|||
// for normal HTML requests and not for AJAX requests
|
||||
$this->navigationManager->setActiveEntry($this->appName);
|
||||
|
||||
if ($controller === \OCA\Talk\Controller\PageController::class && $methodName === 'showCall') {
|
||||
if (get_class($controller) === \OCA\Talk\Controller\PageController::class && $methodName === 'showCall') {
|
||||
$this->navigationManager->setActiveEntry('spreed');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue