From 596c6378c4d1a9b8815310d2481aed3ed066eed4 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 21 Jan 2008 08:50:39 +0000 Subject: [PATCH] =?utf8?q?Kompatibilit=C3=A4tsfix=20f=C3=BCr=20PostgreSQL?= =?utf8?q?=208=20und=20neuer.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/RP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 |; -- 2.20.1