Cleanup and preparing for XLS extension in class.mail.inc.
[fa-stable.git] / manufacturing / work_order_release.php
index dbdb8b46d58c8da38e2a339ae769d26919519ed3..2837f5e9eac2fcc2082a17ba62bb50db831c4abd 100644 (file)
@@ -20,7 +20,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(800, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();
@@ -115,4 +115,3 @@ end_form();
 
 end_page();
 
-?>
\ No newline at end of file