Bug 19383: (QA follow-up) Remove unused name variable

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Katrin Fischer 2018-08-22 20:49:52 +02:00 committed by Nick Clemens
parent f7fe10c6ff
commit 4765db2527
1 changed files with 0 additions and 3 deletions

View File

@ -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,