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 f02d1765..609a397b 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -2270,7 +2270,7 @@ sub current_date {
}
$query = qq|SELECT to_date(?, ?)
- + ? AS thisdate|;
+ + ?::interval AS thisdate|;
@queryargs = ($thisdate, $dateformat, $days);
} else {