Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / manufacturing / work_order_release.php
index 10044b7b01f6f6542399bc5501cfe99b6f341063..dbdb8b46d58c8da38e2a339ae769d26919519ed3 100644 (file)
@@ -22,7 +22,7 @@ include_once($path_to_root . "/manufacturing/includes/manufacturing_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 = "Work Order Release to Manufacturing"), false, false, "", $js);