Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / reporting / reports_main.php
index 039eb3b8bb90278ca9388ef35e5ea060f729fe99..66c07caf2e12f90064d128e946a9fa38915b171b 100644 (file)
@@ -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');