Bug 17738: [QA Follow-up] Remove second find of same patron
We can just use the $patron from line 77 here. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
This commit is contained in:
parent
57ebe9aefc
commit
adff45cd8d
1 changed files with 0 additions and 1 deletions
|
@ -199,7 +199,6 @@ foreach my $biblioNumber (@biblionumbers) {
|
||||||
if ( $query->param('place_reserve') ) {
|
if ( $query->param('place_reserve') ) {
|
||||||
my $reserve_cnt = 0;
|
my $reserve_cnt = 0;
|
||||||
if ($maxreserves) {
|
if ($maxreserves) {
|
||||||
my $patron = Koha::Patrons->find( $borrowernumber );
|
|
||||||
$reserve_cnt = $patron->holds->count;
|
$reserve_cnt = $patron->holds->count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue