Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / dimensions / inquiry / search_dimensions.php
index ea1781a10d305153ecefc444e5ae1679dfc04a22..2d7c8541a9ced0c1645de5ce6cdebb61bdb86871 100644 (file)
@@ -18,7 +18,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();