Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / purchasing / supplier_credit.php
index 0d1e6c9fd75455983b2a322037187d08a3cfdc12..2b8c07b392e62e1d7d21b14c6c398aa197a7b61b 100644 (file)
@@ -23,7 +23,7 @@ include_once($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();
 
 //----------------------------------------------------------------------------------------