Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / purchasing / supplier_invoice.php
index ffb5e79bd9003e15a4737951aaba813d9c8a1664..d7172ee0e412431d123a9b146ce6ba5432a0c7bb 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();
 //----------------------------------------------------------------------------------------