Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / purchasing / inquiry / po_search.php
index 5aa19b4e5ab8c8e9907fc093f1c1f743bb4f7894..42446bb28f8567b9648b5b2e7e2bbf33dfd6b398 100644 (file)
@@ -18,7 +18,7 @@ include($path_to_root . "/purchasing/includes/purchasing_ui.inc");
 include_once($path_to_root . "/reporting/includes/reporting.inc");
 
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(900, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();