summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index c2fdadf4..955f6310 100644
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -2425,7 +2425,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 {