Rerun. Stuff forgotten.
[fa-stable.git] / admin / inst_upgrade.php
index aa0d28388d35fad0459fb12a2277725ed2512c0d..670ecb1515d260bbdf3ccad7a05f7cd016d52282 100644 (file)
@@ -13,7 +13,7 @@ $page_security = 'SA_SOFTWAREUPGRADE';
 $path_to_root="..";
 include_once($path_to_root . "/includes/session.inc");
 
-page(_("Software Upgrade"));
+page(_($help_context = "Software Upgrade"));
 
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/admin/db/company_db.inc");
@@ -164,6 +164,7 @@ if (get_post('Upgrade'))
                $_SESSION["wa_current_user"]->prefs = new user_prefs($user);
                display_notification(_('All companies data has been successfully updated'));
        }       
+       unset($_SESSION['SysPrefs']); // re-read system setup
        $Ajax->activate('_page_body');
 }