Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / manufacturing / work_order_issue.php
index d2344f6f76962dcba885ad42232b7d586d08ae6e..abc518deb2f2db83a9c3fc7cece7bff2e5bf1cd8 100644 (file)
@@ -25,7 +25,7 @@ include_once($path_to_root . "/manufacturing/includes/work_order_issue_ui.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(800, 500);
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 
 page(_($help_context = "Issue Items to Work Order"), false, false, "", $js);