]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixed a bug preventing messages and warnings from passing during a forward().
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 22 Jan 2010 20:50:19 +0000 (20:50 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 22 Jan 2010 20:50:19 +0000 (20:50 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3829 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/elgglib.php

index 19451c1524e6690d2429ea7704210f9f5e13ea5f..c171b75b2e226b4d81b55e7661b3375a6b44affc 100644 (file)
@@ -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;
                }