aboutsummaryrefslogtreecommitdiff
path: root/actions/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/logout.php')
-rw-r--r--actions/logout.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/logout.php b/actions/logout.php
index 98926d205..c48a26b15 100644
--- a/actions/logout.php
+++ b/actions/logout.php
@@ -12,6 +12,7 @@ $result = logout();
// Set the system_message as appropriate
if ($result) {
system_message(elgg_echo('logoutok'));
+ forward();
} else {
register_error(elgg_echo('logouterror'));
} \ No newline at end of file