aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-22 20:50:19 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-22 20:50:19 +0000
commit5f7fee125d13b046aee091821e94936b77a2f491 (patch)
tree963ebca94b6d14f1e71897018356b925bf99a568 /engine/lib/elgglib.php
parent864804a251c1b3ec23baf4dbe60b471b579cc01e (diff)
downloadelgg-5f7fee125d13b046aee091821e94936b77a2f491.tar.gz
elgg-5f7fee125d13b046aee091821e94936b77a2f491.tar.bz2
Fixed a bug preventing messages and warnings from passing during a forward().
git-svn-id: http://code.elgg.org/elgg/trunk@3829 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-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;
}