]> wagnertech.de Git - mfinanz.git/blobdiff - SL/AP.pm
Merge branch 'session-content-as-yaml-dump'
[mfinanz.git] / SL / AP.pm
index fce222dc073386019fec8e86982b99c564bfee3e..245d1abb89254b83a8781d532724739f0e1a7560 100644 (file)
--- 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;