Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / gl / inquiry / profit_loss.php
index 8d9144d61c12f624fd19079ae3eedd6e8d9f63d7..4022e968f7ccb89a2082b90cf2bb377f445b6225 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 = "Profit & Loss Drilldown"), false, false, "", $js);