From f9348d9caf42e5330ef2f9bf12c3b165d6fb7a30 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Sun, 27 Apr 2014 01:04:03 +0000 Subject: [PATCH] Replaced session variable with local variable instead, on previous Upgrade Schema fix. --- core/upgrade/upgrade_schema.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/upgrade/upgrade_schema.php b/core/upgrade/upgrade_schema.php index 284f62fd5f..dbc463e612 100644 --- a/core/upgrade/upgrade_schema.php +++ b/core/upgrade/upgrade_schema.php @@ -75,10 +75,10 @@ unset($apps); //upgrade the domains - $_SESSION['domain_language_code'] = $_SESSION['domain']['language']['code']; + $domain_language_code = $_SESSION['domain']['language']['code']; require_once "core/upgrade/upgrade_domains.php"; - $_SESSION['domain']['language']['code'] = $_SESSION['domain_language_code']; - unset($_SESSION['domain_language_code']); + $_SESSION['domain']['language']['code'] = $domain_language_code; + unset($domain_language_code); if ($display_results && $display_type == "html") { echo "
\n";