aboutsummaryrefslogtreecommitdiff
path: root/actions/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/logout.php')
-rw-r--r--actions/logout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/logout.php b/actions/logout.php
index 2bcb538de..8d4eaa16d 100644
--- a/actions/logout.php
+++ b/actions/logout.php
@@ -19,7 +19,7 @@
if ($result) {
system_message(elgg_echo('logoutok'));
} else {
- system_message(elgg_echo('logouterror'));
+ register_error(elgg_echo('logouterror'));
}
?> \ No newline at end of file