From b5ff3696b5aebb4865f9b988075cc850068a91cf Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 7 May 2020 21:00:39 -0300 Subject: [PATCH] Bug 23185: (follow-up) K:C:Register->make_default should use no_triggers Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- Koha/Cash/Register.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Cash/Register.pm b/Koha/Cash/Register.pm index 9308f2ff59..e54ce5f228 100644 --- a/Koha/Cash/Register.pm +++ b/Koha/Cash/Register.pm @@ -178,7 +178,7 @@ sub make_default { sub { my $registers = Koha::Cash::Registers->search( { branch => $self->branch } ); - $registers->update( { branch_default => 0 } ); + $registers->update( { branch_default => 0 }, { no_triggers => 1 } ); $self->set( { branch_default => 1 } ); $self->SUPER::store; } -- 2.39.5