summaryrefslogtreecommitdiff
path: root/src/application/views/nav_logged_in.php
diff options
context:
space:
mode:
authorJonas Kohl2024-09-13 23:10:34 +0200
committerJonas Kohl2024-09-13 23:10:34 +0200
commit948cead0f11d33adbcf0d08773c716e1b6ebb101 (patch)
tree527067829595305d0e1bfa87557aa8f5065b7caa /src/application/views/nav_logged_in.php
parent93817fef3ead7cfd4fcde25ea2bcec02d01310a4 (diff)
More changes
Diffstat (limited to 'src/application/views/nav_logged_in.php')
-rw-r--r--src/application/views/nav_logged_in.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application/views/nav_logged_in.php b/src/application/views/nav_logged_in.php
index fd46d6e..f899ad8 100644
--- a/src/application/views/nav_logged_in.php
+++ b/src/application/views/nav_logged_in.php
@@ -10,5 +10,5 @@ use mystic\forum\orm\User;
<?php endif; ?>
</p></li>
<li><a href="?_action=viewuser&amp;user=<?= htmlentities(urlencode($user->id)) ?>"><span class="glyphicon glyphicon-user" aria-hidden="true"><span class="sr-only">View profile</span></a></li>
-<li><a href="?_action=logout"><span class="glyphicon glyphicon-log-out" aria-hidden="true"><span class="sr-only">Log out</span></a></li>
+<li><a href="?_action=logout&amp;next=<?= htmlentities(urlencode($_SERVER["REQUEST_URI"])) ?>"><span class="glyphicon glyphicon-log-out" aria-hidden="true"><span class="sr-only">Log out</span></a></li>
</ul>