Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / manufacturing / work_order_entry.php
index a1280391c4b4438d1f2a8d139a76a3272137faed..37d761e1c9cb194c9f5c1baccfb3334bf09216ff 100644 (file)
@@ -22,7 +22,7 @@ include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc");
 include_once($path_to_root . "/manufacturing/includes/manufacturing_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();