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 fe73f030e0
commit f9348d9caf

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";