From 79fa9fd666afd0bd6f24584f4ab347ce5a35c723 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 28 Jan 2025 09:50:54 +0000 Subject: [PATCH] Bug 37211: (QA follow-up) Don't reset creation date on update We shouldn't be resetting an accountlines creation date when we update the associated note. We have 'timestamp' for updates already. Signed-off-by: Martin Renvoize --- members/boraccount.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/members/boraccount.pl b/members/boraccount.pl index 844c83554b4..bf20643a1e0 100755 --- a/members/boraccount.pl +++ b/members/boraccount.pl @@ -233,10 +233,9 @@ if ( $op eq 'cud-edit_note' ) { my $payment = Koha::Account::Lines->find($payment_id); $schema->txn_do( sub { - # Update the note and date in the account line + # Update the note in the account line $payment->set( { - date => \'NOW()', note => $note } )->store(); -- 2.48.1