Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / gl / inquiry / balance_sheet.php
index 01dc3c1e328c1c9db42636bfb9352b2131a15b18..2d764d32ef093dcaa95d14bf7ea59c88622330e3 100644 (file)
@@ -21,7 +21,7 @@ include_once($path_to_root . "/includes/data_checks.inc");
 include_once($path_to_root . "/gl/includes/gl_db.inc");
 
 $js = "";
-if ($use_date_picker)
+if (user_use_date_picker())
        $js = get_js_date_picker();
 
 page(_($help_context = "Balance Sheet Drilldown"), false, false, "", $js);