Bugzilla – Attachment 98087 Details for
Bug 24529
Uninitialised value warnings in C4::Reserves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24529: Silence another uninitialised value warning
Bug-24529-Silence-another-uninitialised-value-warn.patch (text/plain), 933 bytes, created by
Jonathan Druart
on 2020-01-29 14:57:58 UTC
(
hide
)
Description:
Bug 24529: Silence another uninitialised value warning
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-01-29 14:57:58 UTC
Size:
933 bytes
patch
obsolete
>From 4a5f9061370a5373ab6223a530b8e48ee5b7e0eb Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 29 Jan 2020 13:24:34 +0000 >Subject: [PATCH] Bug 24529: Silence another uninitialised value warning > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/Reserves.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index cccd975822..9d5c777f68 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -1836,6 +1836,8 @@ If $cancelreserve boolean is set to true, it will remove existing reserve > sub MoveReserve { > my ( $itemnumber, $borrowernumber, $cancelreserve ) = @_; > >+ $cancelreserve //= 0; >+ > my $lookahead = C4::Context->preference('ConfirmFutureHolds'); #number of days to look for future holds > my ( $restype, $res, undef ) = CheckReserves( $itemnumber, undef, $lookahead ); > return unless $res; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24529
:
98075
|
98076
|
98086
| 98087