diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-11-08 11:52:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 11:52:47 +0100 |
commit | 8c0c426538c4c811c0b0be4eba220a1409cd052e (patch) | |
tree | e1c971c673ae38f73a1be1e18ab56fe6a4683516 /core/Controller | |
parent | b8862bd14ed778b6de107b1e2ba495ef5e5fc896 (diff) | |
parent | 9285fe04ff277088bc06eda264712d3a164539a9 (diff) | |
download | nextcloud-server-8c0c426538c4c811c0b0be4eba220a1409cd052e.tar.gz nextcloud-server-8c0c426538c4c811c0b0be4eba220a1409cd052e.zip |
Merge branch 'master' into enh/text-processing-iprovider2
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/ProfilePageController.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Controller/ProfilePageController.php b/core/Controller/ProfilePageController.php index f8d9053edfa..e32f54a8ff7 100644 --- a/core/Controller/ProfilePageController.php +++ b/core/Controller/ProfilePageController.php @@ -106,7 +106,9 @@ class ProfilePageController extends Controller { $this->profileManager->getProfileFields($targetUser, $visitingUser), ); - $this->navigationManager->setActiveEntry('profile'); + if ($targetUser === $visitingUser) { + $this->navigationManager->setActiveEntry('profile'); + } $this->eventDispatcher->dispatchTyped(new BeforeTemplateRenderedEvent($targetUserId)); |