X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Finquiry%2Fgl_account_inquiry.php;h=14147f6cf52da9e2cf0f1e891afc368389a4f32f;hb=bd8f517d30d1edd3261e26e582ddd9e11c555616;hp=3f81e035e3d7dfce4d671f8c43fd5bf24bd3aeac;hpb=5e63c6ace55729bbb5ee3b060035a25a4426eb0a;p=fa-stable.git diff --git a/gl/inquiry/gl_account_inquiry.php b/gl/inquiry/gl_account_inquiry.php index 3f81e035..14147f6c 100644 --- a/gl/inquiry/gl_account_inquiry.php +++ b/gl/inquiry/gl_account_inquiry.php @@ -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, -$_SESSION["wa_current_user"]->prefs->transaction_days()); + date_cells(_("from:"), 'TransFromDate', '', null, -user_transaction_days()); date_cells(_("to:"), 'TransToDate'); end_row(); end_table();