diff options
Diffstat (limited to 'src/application/views/template_navigation.php')
-rw-r--r-- | src/application/views/template_navigation.php | 5 |
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"); } |