Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / gl / inquiry / journal_inquiry.php
index 88e36a9171626196387f8641499947ea9f94b812..0b5a47dc0d990b0279e528c5e452bc29d7ff4737 100644 (file)
@@ -19,7 +19,7 @@ include_once($path_to_root . "/includes/session.inc");
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/includes/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();