Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / inventory / manage / items.php
index 71e2f2b9e623b61a37285244d101c40eee731adf..46fb1469df7a62b634399003e52a13f5bde6ca0e 100644 (file)
@@ -16,7 +16,7 @@ include($path_to_root . "/includes/session.inc");
 $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();
 
 page(_($help_context = "Items"), @$_REQUEST['popup'], false, "", $js);