Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / gl / inquiry / tax_inquiry.php
index 4adc57bf9524f6fc8e6b7c15158bc52de99b14f8..ec96716a267b12279ce09d921a63306ac21e582f 100644 (file)
@@ -22,7 +22,7 @@ include_once($path_to_root . "/gl/includes/gl_db.inc");
 
 $js = '';
 set_focus('account');
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();