Bugzilla – Attachment 98076 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), 860 bytes, created by
Martin Renvoize (ashimema)
on 2020-01-29 13:25:32 UTC
(
hide
)
Description:
Bug 24529: Silence another uninitialised value warning
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-01-29 13:25:32 UTC
Size:
860 bytes
patch
obsolete
>From 3709bdf457f43bbd98c4ee6600af92e59cda3695 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 > >--- > 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.20.1
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