Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / purchasing / inquiry / supplier_inquiry.php
index 94ab527597ffec00951249db3dc8488b7c4773bc..03a5d11d6029b349d8639733bf9d50c28e8b9589 100644 (file)
@@ -20,7 +20,7 @@ include_once($path_to_root . "/reporting/includes/reporting.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 Inquiry"), isset($_GET['supplier_id']), false, "", $js);