mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Merge pull request #19060 from nextcloud/backport/19053/stable18
[stable18] Fix loaded controller check
This commit is contained in:
commit
c9d852ade2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue