From c8ebd23d0b440197d551022c5732bf07fc8000b6 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 3 Feb 2026 20:10:18 +0000 Subject: [PATCH] Bug 41761: Do not update accountlines.date when editing a note To test: 0. APPLY PATCH, restart_all 1. Create an accountline and make note of the accountline.date 2. On that accoutnline edit the note. 3. Confirm that the accountline.date does NOT update. Signed-off-by: Juliet Heltibridle --- members/boraccount.pl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/members/boraccount.pl b/members/boraccount.pl index 7d99a85e250..19b6f8d7313 100755 --- a/members/boraccount.pl +++ b/members/boraccount.pl @@ -238,12 +238,7 @@ if ( $op eq 'cud-edit_note' ) { $schema->txn_do( sub { # Update the note and date in the account line - $payment->set( - { - date => \'NOW()', - note => $note - } - )->store(); + $payment->set( { note => $note } )->store(); } ); } -- 2.39.5