From: Moritz Bunkus Date: Mon, 25 Aug 2008 07:14:42 +0000 (+0000) Subject: Fix für PostgreSQL 8.3, das eine strengere Typenprüfung als frühere Versionen besitzt... X-Git-Tag: release-2.6.0beta2~273 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2fbdc1a1bd191b852f005542716af4c5f225438c;p=kivitendo-erp.git Fix für PostgreSQL 8.3, das eine strengere Typenprüfung als frühere Versionen besitzt. Fix für Bug 854. --- diff --git a/SL/CA.pm b/SL/CA.pm index 4604f13e3..9eeb905f5 100644 --- a/SL/CA.pm +++ b/SL/CA.pm @@ -76,11 +76,11 @@ sub all_accounts { c.pos_eur, c.valid_from, c.datevautomatik, - comma(tk.startdate) AS startdate, - comma(tk.taxkey_id) AS taxkey, + comma(tk.startdate::text) AS startdate, + comma(tk.taxkey_id::text) AS taxkey, comma(tx.taxdescription || to_char (tx.rate, '99V99' ) || '%') AS taxdescription, - comma(tx.taxnumber) AS taxaccount, - comma(tk.pos_ustva) AS tk_ustva, + comma(tx.taxnumber::text) AS taxaccount, + comma(tk.pos_ustva::text) AS tk_ustva, ( SELECT accno FROM chart c2 WHERE c2.id = c.id