Removed many global variables from config.default.php to GL Setup, Company Setup...
[fa-stable.git] / gl / accruals.php
index 4bfc923b10517901bb401cb78c08f8e5867262e1..8a05f80ca3e4f7ca9ff320c5f9920bd4959e5cd2 100644 (file)
@@ -11,7 +11,7 @@ include_once($path_to_root . "/includes/session.inc");
 include_once($path_to_root . "/gl/includes/db/gl_db_trans.inc");
 
 $js = get_js_open_window(800, 500);
-if ($use_date_picker)
+if (user_use_date_picker())
        $js .= get_js_date_picker();
 
 // Begin the UI