From: Moritz Bunkus Date: Mon, 21 Jan 2008 08:50:39 +0000 (+0000) Subject: Kompatibilitätsfix für PostgreSQL 8 und neuer. X-Git-Tag: release-2.6.0beta1~320 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=596c6378c4d1a9b8815310d2481aed3ed066eed4;p=kivitendo-erp.git Kompatibilitätsfix für PostgreSQL 8 und neuer. --- diff --git a/SL/RP.pm b/SL/RP.pm index 76c44e12e..33912bae5 100644 --- a/SL/RP.pm +++ b/SL/RP.pm @@ -809,7 +809,7 @@ sub trial_balance { FROM acc_trans ac JOIN chart c ON (ac.chart_id = c.id) $dpt_join - WHERE (ac.transdate < (select date_trunc('year', date ?))) + WHERE (ac.transdate < (select date_trunc('year', ?::date))) $dpt_where $project GROUP BY c.accno, c.category, c.description |;