X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ad73be9c179367f2e85c2297297581ca092738f1..23f79a876613fabf7f4aa2de230788ebeb840de9:/SL/AP.pm diff --git a/SL/AP.pm b/SL/AP.pm index fce222dc0..245d1abb8 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -781,7 +781,7 @@ sub storno { } for my $row (@$rowref) { - delete @$row{qw(itime mtime link)}; + delete @$row{qw(itime mtime link acc_trans_id)}; $query = sprintf 'INSERT INTO acc_trans (%s) VALUES (%s)', join(', ', keys %$row), join(', ', map '?', values %$row); $row->{trans_id} = $new_id; $row->{amount} *= -1;