From 1aa5ac26be6aa48cc482bc35f73f36697f17c52b Mon Sep 17 00:00:00 2001
From: Philip Reetz
Date: Fri, 5 Oct 2007 06:20:19 +0000
Subject: [PATCH] =?utf8?q?Fehler=20beim=20Laden=20von=20Buchungen,=20wenn?=
=?utf8?q?=20Konto=20nicht=20mit=20einer=20Steuer=20verkn=C3=BCpft=20ist?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
---
SL/Form.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SL/Form.pm b/SL/Form.pm
index 48afe6305..25d437fd1 100644
--- a/SL/Form.pm
+++ b/SL/Form.pm
@@ -2299,7 +2299,7 @@ sub create_links {
LEFT JOIN taxkeys tk ON (tk.chart_id = c.id)
WHERE c.link LIKE ?
AND (tk.id = (SELECT id FROM taxkeys WHERE taxkeys.chart_id = c.id AND startdate <= $transdate ORDER BY startdate DESC LIMIT 1)
- OR c.link LIKE '%_tax%')
+ OR c.link LIKE '%_tax%' OR c.taxkey_id IS NULL)
ORDER BY c.accno|;
$sth = $dbh->prepare($query);
--
2.20.1