Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / purchasing / inquiry / supplier_allocation_inquiry.php
index fc19aee869944fd81786071865674ae743cd0317..6e4bcf88419e7a019b2463e98eb749c29a65c377 100644 (file)
@@ -18,7 +18,7 @@ include($path_to_root . "/purchasing/includes/purchasing_ui.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 = "Supplier Allocation Inquiry"), false, false, "", $js);