Bugzilla – Attachment 162216 Details for
Bug 35518
Call to C4::Context->userenv happens before it's gets populated breaks code logic in circulation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35518: follow up - clear the barcode list in AutoSwitchPatron block
0001-Bug-35518-follow-up-clear-the-barcode-list-in-AutoSw.patch (text/plain), 922 bytes, created by
Michael Hafen
on 2024-02-15 17:35:40 UTC
(
hide
)
Description:
Bug 35518: follow up - clear the barcode list in AutoSwitchPatron block
Filename:
MIME Type:
Creator:
Michael Hafen
Created:
2024-02-15 17:35:40 UTC
Size:
922 bytes
patch
obsolete
>From 236808da226bbb923e88b24baa9836da61a6161c Mon Sep 17 00:00:00 2001 >From: Michael Hafen <michael.hafen@washk12.org> >Date: Thu, 15 Feb 2024 10:32:48 -0700 >Subject: [PATCH] Bug 35518: follow up - clear the barcode list in > AutoSwitchPatron block >Content-Type: text/plain; charset="utf-8" > >The AutoSwitchPatron block got moved, and now the @$barcodes variable gets >filled and not cleared. Leading to a 'Barcode not found' error when the >patron is auto switched. >--- > circ/circulation.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index a8aa0a5978..419cb5b433 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -131,6 +131,7 @@ if ( C4::Context->preference("AutoSwitchPatron") && $barcode ) { > $findborrower = $barcode; > undef $barcode; > undef $borrowernumber; >+ $barcodes = []; > $autoswitched = 1; > } > } >-- >2.34.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 35518
:
161539
|
161707
|
161929
|
161930
|
162216
|
162218