From 6b2d999844db8e298b1a8488fde03dc92de9922d Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 15 May 2023 21:36:27 +0000 Subject: [PATCH] Revert "Bug 33210: (Bug 31963 follow-up) No hold fee message on OPAC should be displayed when there is no fee" This reverts commit 335377042b39c7af9ce791af5dfb694496170dc9. Signed-off-by: Lucas Gass --- C4/Reserves.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 574217c301..9a1a7fc758 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -768,7 +768,6 @@ SELECT COUNT(*) FROM reserves WHERE biblionumber=? AND borrowernumber<>? my $dbh = C4::Context->dbh; my ( $fee ) = $dbh->selectrow_array( $borquery, undef, ($borrowernumber) ); - $fee += 0; my $hold_fee_mode = C4::Context->preference('HoldFeeMode') || 'not_always'; if( $fee and $fee > 0 and $hold_fee_mode eq 'not_always' ) { # This is a reconstruction of the old code: -- 2.39.5