summaryrefslogtreecommitdiff
path: root/src/application/views/template_navigation.php
diff options
context:
space:
mode:
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");
}