From 5f7fee125d13b046aee091821e94936b77a2f491 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 22 Jan 2010 20:50:19 +0000 Subject: 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 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/elgglib.php') 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; } -- cgit v1.2.3