Replaced session variable with local variable instead, on previous Upgrade Schema fix.

This commit is contained in:
Nate Jones
2014-04-27 01:04:03 +00:00
parent f3b56626e9
commit c5f4d7d2a0

View File

@@ -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 "<br />\n";