Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / gl / manage / revaluate_currencies.php
index 050637d5f26cfee6b9646dc0420bec6a28a24130..749c0f4df9438189ae0012d9fbf05584026572b6 100644 (file)
@@ -18,7 +18,7 @@ include_once($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/includes/banking.inc");
 
 $js = "";
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 page(_($help_context = "Revaluation of Currency Accounts"), false, false, "", $js);