summaryrefslogtreecommitdiff
path: root/src/application/views/template_navigation.php
diff options
context:
space:
mode:
authorJonas Kohl2024-09-18 23:05:35 +0200
committerJonas Kohl2024-09-18 23:05:35 +0200
commit01454544896827113e49db0d2848b5aab6ce14ae (patch)
tree9487c3d45a04d350bca2ed8401a797ed69cd7e8a /src/application/views/template_navigation.php
parenta65d424263adfbff9629c7d91a613e4504c84613 (diff)
Many changes
Diffstat (limited to 'src/application/views/template_navigation.php')
-rw-r--r--src/application/views/template_navigation.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/application/views/template_navigation.php b/src/application/views/template_navigation.php
index d39c1ea..ff0752b 100644
--- a/src/application/views/template_navigation.php
+++ b/src/application/views/template_navigation.php
@@ -1,6 +1,9 @@
<?php
if ($user) {
- _view("nav_logged_in", ["user" => $user]);
+ _view("nav_logged_in", [
+ "user" => $user,
+ "isViewingOwnProfile" => $isViewingOwnProfile ?? false,
+ ]);
} else {
_view("nav_guest");
}