Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / admin / inst_chart.php
index bb41100d5d9812b77b4891a1548243848e381fca..c291a0308edfddd1401e3088b3b878be2f230dba 100644 (file)
@@ -14,7 +14,7 @@ $path_to_root="..";
 include_once($path_to_root . "/includes/session.inc");
 include_once($path_to_root."/includes/packages.inc");
 
-if ($use_popup_windows) {
+if ($SysPrefs->use_popup_windows) {
        $js = get_js_open_window(900, 500);
 }
 page(_($help_context = "Install Charts of Accounts"), false, false, '', $js);