Bug 17020: Do no pass findborrower to the template
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 28 Jul 2016 11:58:30 +0000 (12:58 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 10 Aug 2016 13:55:00 +0000 (13:55 +0000)
Indeed, it's not used!

Test plan:
  git grep '\[% findborrower'
should not return any result.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
circ/circulation.pl

index ed00e2d..eddd996 100755 (executable)
@@ -624,7 +624,6 @@ if ($restoreduedatespec || $stickyduedate) {
 $template->param(
     librarian_messages => $librarian_messages,
     patron_messages   => $patron_messages,
-    findborrower      => $findborrower,
     borrower          => $borrower,
     borrowernumber    => $borrowernumber,
     categoryname      => $borrower->{'description'},