Bugzilla – Attachment 185819 Details for
Bug 9762
Log circulation overrides
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9762: (QA follow-up) Add missing issueconfirmed check
Bug-9762-QA-follow-up-Add-missing-issueconfirmed-c.patch (text/plain), 1.40 KB, created by
Martin Renvoize (ashimema)
on 2025-08-27 14:35:33 UTC
(
hide
)
Description:
Bug 9762: (QA follow-up) Add missing issueconfirmed check
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-08-27 14:35:33 UTC
Size:
1.40 KB
patch
obsolete
>From ddcf63956a28abb07b9e058b19efeeaecdef0834 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@openfifth.co.uk> >Date: Wed, 23 Apr 2025 09:24:10 +0100 >Subject: [PATCH] Bug 9762: (QA follow-up) Add missing issueconfirmed check > >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > C4/Circulation.pm | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 992ac686f8a..1d62c373e03 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -1418,12 +1418,14 @@ sub CanBookBeIssued { > if ( $restriction_age && $patron->dateofbirth && $restriction_age > $patron->get_age() ) { > if ( C4::Context->preference('AgeRestrictionOverride') ) { > $needsconfirmation{AGE_RESTRICTION} = "$agerestriction"; >- if ($message) { >- $message = "$message + age restriction"; >- } else { >- $message = "age restriction"; >+ if ($issueconfirmed) { >+ if ($message) { >+ $message = "$message + age restriction"; >+ } else { >+ $message = "age restriction"; >+ } >+ push( @message_log, "age restriction" ); > } >- push( @message_log, "age restriction" ); > } else { > $issuingimpossible{AGE_RESTRICTION} = "$agerestriction"; > } >-- >2.51.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 9762
:
149554
|
156222
|
163847
|
164022
|
164067
|
164068
|
164302
|
164387
|
164426
|
164479
|
164508
|
164509
|
164510
|
164519
|
170271
|
170272
|
170273
|
176742
|
177294
|
177295
|
177296
|
178029
|
178030
|
178031
|
178036
|
181303
|
181304
|
181305
|
181306
|
181307
|
181308
|
181340
|
181341
|
181342
|
181343
|
181344
|
181345
|
181346
|
181357
|
181358
|
181359
|
181360
|
181361
|
181362
|
181363
|
181371
|
181381
|
181390
|
181393
|
181545
|
181546
|
185118
|
185314
|
185315
|
185316
|
185317
|
185318
|
185319
|
185320
|
185321
|
185322
|
185323
|
185815
|
185816
|
185817
|
185818
| 185819 |
185820
|
185821
|
185822
|
185823
|
185824
|
185825
|
185826
|
185827