From c2645c0ef83d88b36ed45d6a0b82053191c9b1ce Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Sat, 3 Sep 2016 00:26:03 +0000 Subject: [PATCH] Bug 14695 [QA Followup] - Fix issues found by QA script --- C4/Reserves.pm | 2 +- Koha/Holds.pm | 1 + reserve/placerequest.pl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 537d061046..876580eb34 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -519,7 +519,7 @@ sub CanItemBeReserved { $ruleitemtype = '*'; } - my $item = Koha::Items->find( $itemnumber ); + $item = Koha::Items->find( $itemnumber ); my $holds = Koha::Holds->search( { borrowernumber => $borrowernumber, diff --git a/Koha/Holds.pm b/Koha/Holds.pm index b5c24aa1b9..235f1d4611 100644 --- a/Koha/Holds.pm +++ b/Koha/Holds.pm @@ -65,6 +65,7 @@ Finally, if the patron has no holds, it will return undef which indicateds the patron may select either record or item level holds, barring any other rules that would prevent one or the other. + =cut sub forced_hold_level { diff --git a/reserve/placerequest.pl b/reserve/placerequest.pl index ee916eaae6..92f3c48b01 100755 --- a/reserve/placerequest.pl +++ b/reserve/placerequest.pl @@ -134,5 +134,5 @@ elsif ( $borrower eq '' ) { # Not sure that Dump() does HTML escaping. Use firebug or something to trace # instead. - # print $input->Dump; + #print $input->Dump; } -- 2.39.5