aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 19451c152..c171b75b2 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -27,7 +27,7 @@ function forward($location = "") {
$current_page = current_page_url();
if (strpos($current_page, $CONFIG->wwwroot . "action") ===false)
- $_SESSION['messages'] = system_messages();
+ $_SESSION['msg'] = system_messages();
if ((substr_count($location, 'http://') == 0) && (substr_count($location, 'https://') == 0)) {
$location = $CONFIG->url . $location;
}