diff options
-rw-r--r-- | lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php b/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php index c759045686e..4ef244eb030 100644 --- a/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php +++ b/lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php @@ -130,7 +130,7 @@ class SecurityMiddleware extends Middleware { // for normal HTML requests and not for AJAX requests $this->navigationManager->setActiveEntry($this->appName); - if ($controller === \OCA\Spreed\Controller\PageController::class && $methodName === 'showCall') { + if (get_class($controller) === \OCA\Spreed\Controller\PageController::class && $methodName === 'showCall') { $this->navigationManager->setActiveEntry('spreed'); } |