X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Freports_main.php;h=66c07caf2e12f90064d128e946a9fa38915b171b;hb=3b06c6c4718610a408cae2e9b76c3134ca30b84c;hp=039eb3b8bb90278ca9388ef35e5ea060f729fe99;hpb=fbf51ab0febfd0885620abcab8738339d156ff45;p=fa-stable.git diff --git a/reporting/reports_main.php b/reporting/reports_main.php index 039eb3b8..66c07caf 100644 --- a/reporting/reports_main.php +++ b/reporting/reports_main.php @@ -18,7 +18,7 @@ include_once($path_to_root . "/includes/data_checks.inc"); include_once($path_to_root . "/includes/ui.inc"); include_once($path_to_root . "/reporting/includes/reports_classes.inc"); $js = ""; -if ($use_date_picker) +if (user_use_date_picker()) $js .= get_js_date_picker(); add_js_file('reports.js');