Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / gl / gl_bank.php
index 5815f68306f82accdfa4ad872aa7853f8574f1a7..de4bcc730b46a6ef08e1dac1695ea42c3f861b8d 100644 (file)
@@ -25,7 +25,7 @@ include_once($path_to_root . "/gl/includes/gl_ui.inc");
 include_once($path_to_root . "/admin/db/attachments_db.inc");
 
 $js = '';
-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();