From: Antti K. <aka...@si...> - 2001-05-22 05:52:06
|
> Version 1.4 > In trying to add or modify an account that includes tax for parts or > services I get the following error : > " ERROR: parser: parse error at or near "," " I pointed this out for Dieter and I think he fixed it in post-1.4.0 versions. The bug was in SL/Admin.pm, at the end of sub save_account, where $chart_id will always be empty when SQL "INSERT INTO tax (chart_id, rate) VALUES ($chart_id, 0)" is executed. I fixed this by replacing $chart_id here with $form->{id}, but I think Dieter had a more beautiful fix for this. --------------------------------------- Antti Kaihola Ambitone Oy, Helsinki, Finland Päivän palindromi: "Kas, iso luottamus. Asu: Matto. Ulos, Isak!" |