Cleanup and preparing for XLS extension in class.mail.inc.
[fa-stable.git] / manufacturing / work_order_costs.php
index ddb0d1ea60dfbc548c1cf7435bffcc2e4d0f9fc8..32184da9151fa3115270d2006322590a5db13f6e 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();
@@ -154,4 +154,3 @@ end_form();
 
 end_page();
 
-?>
\ No newline at end of file