Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / purchasing / po_receive_items.php
index bc1115897e16e3d07e3a8d7cc5cfa8bae23e5d54..30d18878855caa7789370ad250e0464e688b2a73 100644 (file)
@@ -18,7 +18,7 @@ include_once($path_to_root . "/purchasing/includes/purchasing_db.inc");
 include_once($path_to_root . "/purchasing/includes/purchasing_ui.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();