From d9ec55a8a36c7974667846e41c486488606c40a3 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 3 Sep 2019 11:14:24 +0000 Subject: [PATCH] Bug 23413: (follow-up) Rename variables Signed-off-by: Martin Renvoize --- Koha/Item.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 5c95b35840..b5b3ce06f4 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -139,9 +139,9 @@ Return holds attached to an item, optionally accept a hashref of params to pass sub holds { my ( $self,$params ) = @_; - my $transfer_rs = $self->_result->reserves->search($params); - return unless $transfer_rs->count; - return Koha::Holds->_new_from_dbic( $transfer_rs ); + my $holds_rs = $self->_result->reserves->search($params); + return unless $holds_rs->count; + return Koha::Holds->_new_from_dbic( $holds_rs ); } =head3 get_transfer -- 2.39.5