From: Janusz Dobrowolski Date: Fri, 23 Jul 2010 13:03:56 +0000 (+0000) Subject: SysPrefs restoration after upgrade. X-Git-Tag: v2.4.2~19^2~782 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=a6fdb9458428e86dec80dd312a6e968661c0f8c7;p=fa-stable.git SysPrefs restoration after upgrade. --- diff --git a/admin/inst_upgrade.php b/admin/inst_upgrade.php index 5084954f..c3c9f67e 100644 --- a/admin/inst_upgrade.php +++ b/admin/inst_upgrade.php @@ -171,6 +171,7 @@ if (get_post('Upgrade')) display_notification(_('All companies data has been successfully updated')); } unset($_SESSION['SysPrefs']); // re-read system setup + $_SESSION['SysPrefs'] = new sys_prefs(); $Ajax->activate('_page_body'); }