Added trans_editor_link helper.
[fa-stable.git] / gl / inquiry / profit_loss.php
index 8d9144d61c12f624fd19079ae3eedd6e8d9f63d7..1e236159a2f8172bf0b447f36d084e096817db75 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);
@@ -340,4 +340,3 @@ end_form();
 
 end_page();
 
-?>
\ No newline at end of file