From 4765db2527059fa80a2e4471faab18f4f6968e0f Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 22 Aug 2018 20:49:52 +0200 Subject: [PATCH] Bug 19383: (QA follow-up) Remove unused name variable Signed-off-by: Nick Clemens --- circ/returns.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/circ/returns.pl b/circ/returns.pl index 8b652a61c6..c2f20efd91 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -425,7 +425,6 @@ if ( $messages->{'ResFound'}) { my ( $messages, $nextreservinfo ) = GetOtherReserves($reserve->{itemnumber}); my $patron = Koha::Patrons->find( $nextreservinfo ); - my $name = $patron ? $patron->surname . ", " . $patron->title . " " . $patron->firstname : ''; $template->param( hold_auto_filled => 1, @@ -441,7 +440,6 @@ if ( $messages->{'ResFound'}) { itemnumber => $item->itemnumber, itembiblionumber => $biblio->biblionumber, iteminfo => $biblio->author, - name => $name, diffbranch => 1, ); } @@ -464,7 +462,6 @@ if ( $messages->{'ResFound'}) { # same params for Waiting or Reserved $template->param( - # FIXME The full patron object should be passed to the template found => 1, patron => $patron, barcode => $barcode, -- 2.39.5