From 17ad5b1ab98c998b78560ea9121a68fd7d4c66fa Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 25 Nov 2020 17:17:17 +0000 Subject: [PATCH] Bug 27079: (QA follow-up) Round both sides for clarity Signed-off-by: Josef Moravec Signed-off-by: Victor Grousset/tuxayo --- C4/Overdues.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Overdues.pm b/C4/Overdues.pm index 607af71f5c..d484c67b0f 100644 --- a/C4/Overdues.pm +++ b/C4/Overdues.pm @@ -574,7 +574,7 @@ sub UpdateFine { } if ( $accountline ) { - if ( $accountline->amount != Koha::Number::Price->new($amount)->round ) { + if ( Koha::Number::Price->new($accountline->amount)->round != Koha::Number::Price->new($amount)->round ) { $accountline->adjust( { amount => $amount, -- 2.29.2