Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / purchasing / po_entry_items.php
index dd2cc3bcabd7feb880d31b1b1141c7061a73bfc5..1ab8e66309f88e2fc8a829e66f1f28aec9e929e7 100644 (file)
@@ -33,7 +33,7 @@ set_page_security( @$_SESSION['PO']->trans_type,
 $js = '';
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 500);
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 
 if (isset($_GET['ModifyOrderNumber']) && is_numeric($_GET['ModifyOrderNumber'])) {