Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / gl / inquiry / bank_inquiry.php
index c667c8873641321b2b36ddd685967189aa2fd4f9..4c25ddd270f782477c6ba2fb36e850e6a39b5653 100644 (file)
@@ -23,7 +23,7 @@ include_once($path_to_root . "/includes/banking.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 = "Bank Statement"), isset($_GET['bank_account']), false, "", $js);