Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / gl / gl_bank.php
index 14a8518d1ecf81b00a2f37ebdbfa4c99f3dd641e..b73f1c0ec14717eae6b106ec0e355dac7385a687 100644 (file)
@@ -27,7 +27,7 @@ include_once($path_to_root . "/admin/db/attachments_db.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();
 
 if (isset($_GET['NewPayment'])) {