X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Finquiry%2Ftax_inquiry.php;h=90ec7fe7d0efa255898764da897b7e2284e57f17;hb=f821f29324e963437132a3f6fa7c57fcef5c5f0e;hp=ec96716a267b12279ce09d921a63306ac21e582f;hpb=5e63c6ace55729bbb5ee3b060035a25a4426eb0a;p=fa-stable.git diff --git a/gl/inquiry/tax_inquiry.php b/gl/inquiry/tax_inquiry.php index ec96716a..90ec7fe7 100644 --- a/gl/inquiry/tax_inquiry.php +++ b/gl/inquiry/tax_inquiry.php @@ -58,7 +58,7 @@ function tax_inquiry_controls() start_table(TABLESTYLE_NOBORDER); start_row(); - date_cells(_("from:"), 'TransFromDate', '', null, -$_SESSION["wa_current_user"]->prefs->transaction_days()); + date_cells(_("from:"), 'TransFromDate', '', null, -user_transaction_days()); date_cells(_("to:"), 'TransToDate'); submit_cells('Show',_("Show"),'','', 'default');