X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Freports_main.php;h=6f9555489ab66b14552c782da38cfc45419dcd5b;hb=b0c4c9777f9574e9c2805fddc2a12576d75d94ce;hp=039eb3b8bb90278ca9388ef35e5ea060f729fe99;hpb=fbf51ab0febfd0885620abcab8738339d156ff45;p=fa-stable.git diff --git a/reporting/reports_main.php b/reporting/reports_main.php index 039eb3b8..6f955548 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'); @@ -512,4 +512,3 @@ add_custom_reports($reports); echo $reports->getDisplay(); end_page(); -?>