Feature 5388: Print Invoices (documents) list gets too long. Fixed by default 180...
[fa-stable.git] / admin / fiscalyears.php
index 5db546b1aef3f09245dcd7efaf97d7b098a8495e..d6d05c5a14153a643c25e7fc4c924adcd66c32cc 100644 (file)
@@ -20,7 +20,7 @@ include_once($path_to_root . "/includes/ui.inc");
 include_once($path_to_root . "/sales/includes/db/cust_trans_db.inc");
 include_once($path_to_root . "/admin/db/maintenance_db.inc");
 $js = "";
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 page(_($help_context = "Fiscal Years"), false, false, "", $js);
 
@@ -253,4 +253,3 @@ display_fiscalyear_edit($selected_id);
 
 end_page();
 
-?>