Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / inventory / adjustments.php
index 94e10b30d09b9c09d71a296d3d422d94e50d10ae..7d86faa63beaf027740550b214070a792fa7ad7c 100644 (file)
@@ -23,7 +23,7 @@ include_once($path_to_root . "/inventory/includes/inventory_db.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 = "Item Adjustments Note"), false, false, "", $js);