From f62dfc0f78e1b81c972f45489b3b3b858c354abf 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 --- 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.26.2