diff options
-rwxr-xr-x | LedgerSMB/Form.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 23b6d866..24504afc 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -2432,7 +2432,7 @@ sub current_date { $query = qq|SELECT (to_date(?, ?) + ?::interval)::date AS thisdate|; - @queryargs = ( $thisdate, $dateformat, $days ); + @queryargs = ( $thisdate, $dateformat, sprintf('%d days', $days) ); } else { |