Schreibfehler in IC.pm (ISNULL statt IS NULL)
authorjan <jan@lx-office-hosting.de>
Mon, 21 Dec 2009 10:50:26 +0000 (11:50 +0100)
committerjan <jan@lx-office-hosting.de>
Mon, 21 Dec 2009 10:50:26 +0000 (11:50 +0100)
SL/IC.pm

index 0bf015f..9cd3ed7 100644 (file)
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -1442,7 +1442,7 @@ sub follow_account_chain {
     qq|  cnew.accno | .
     qq|FROM chart c | .
     qq|LEFT JOIN chart cnew ON c.new_chart_id = cnew.id | .
-    qq|WHERE (c.id = ?) AND NOT c.new_chart_id ISNULL AND (c.new_chart_id > 0)|;
+    qq|WHERE (c.id = ?) AND NOT c.new_chart_id IS NULL AND (c.new_chart_id > 0)|;
   $sth = prepare_query($form, $dbh, $query);
 
   while (1) {