From 7c7c59990b4b6c620c709ad09a77d84177267034 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 --- Koha/Item.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 552e977e97..5839cf5676 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -138,9 +138,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.11.0