Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / gl / manage / close_period.php
index fc057c25827bb85c22e91ad5837dc3994ab7ddbb..563e40b6c359883fd45b638762b4ebfee0cbb491 100644 (file)
@@ -20,7 +20,7 @@ include_once($path_to_root . "/includes/banking.inc");
 include_once($path_to_root . "/admin/db/fiscalyears_db.inc");
 
 $js = "";
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 page(_($help_context = "Closing GL Transactions"), false, false, "", $js);