Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / gl / bank_transfer.php
index a11352a6ebbca0370942f572425476588d8f54c5..7b987636a16162d005e06a133bba6b247720013e 100644 (file)
@@ -21,7 +21,7 @@ include_once($path_to_root . "/gl/includes/gl_db.inc");
 include_once($path_to_root . "/gl/includes/gl_ui.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();