projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c43a555
)
Bug 19059: [QA Follow-up] Typo holds for hold
author
Marcel de Rooy
<m.de.rooy@rijksmuseum.nl>
Thu, 7 Sep 2017 12:34:18 +0000
(14:34 +0200)
committer
Jonathan Druart
<jonathan.druart@bugs.koha-community.org>
Tue, 12 Sep 2017 15:42:59 +0000
(12:42 -0300)
Resolves:
The method found is not covered by tests at C4/Reserves.pm line 815.
Test plan:
Run t/db_dependent/Holds/CancelReserves.t
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Reserves.pm
patch
|
blob
|
history
diff --git
a/C4/Reserves.pm
b/C4/Reserves.pm
index
39153bb
..
521b072
100644
(file)
--- a/
C4/Reserves.pm
+++ b/
C4/Reserves.pm
@@
-812,7
+812,7
@@
sub CancelExpiredReserves {
next if !$cancel_on_holidays && $calendar->is_holiday( $today );
my $cancel_params = {};
- if ( $hold
s
->found eq 'W' ) {
+ if ( $hold->found eq 'W' ) {
$cancel_params->{charge_cancel_fee} = 1;
}
$hold->cancel( $cancel_params );