Stable branch merged up to 2.3.21
[fa-stable.git] / gl / inquiry / gl_account_inquiry.php
index a44b12ea49c72b8e9870538874f0b45a37a2104d..bf10abf055ccd51ec50c14ec1d259fad3264de25 100644 (file)
@@ -68,7 +68,7 @@ function gl_inquiry_controls()
     start_table(TABLESTYLE_NOBORDER);
        start_row();
     gl_all_accounts_list_cells(_("Account:"), 'account', null, false, false, _("All Accounts"));
-       date_cells(_("from:"), 'TransFromDate', '', null, -30);
+       date_cells(_("from:"), 'TransFromDate', '', null, -$_SESSION["wa_current_user"]->prefs->transaction_days());
        date_cells(_("to:"), 'TransToDate');
     end_row();
        end_table();