summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm2
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 {