https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18651 --- Comment #15 from Kyle M Hall <kyle@bywatersolutions.com> --- Comment on attachment 63654 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63654 Bug 18651: Copy the row before modify the id Review of attachment 63654: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=18651&attachment=63654) ----------------------------------------------------------------- ::: C4/Circulation.pm @@ +2180,4 @@
+ # Create the old_issues entry + my $old_checkout_data = $issue->unblessed; +
Start the loop here @@ +2193,3 @@
+ # Update the fines + $dbh->do(q|UPDATE accountlines SET issue_id = ? WHERE issue_id = ?|, undef, $old_checkout->issue_id, $issue->issue_id);
If the dbh update files, go back to "Start the loop here", otherwise continue. -- You are receiving this mail because: You are watching all bug changes.