Bugzilla – Attachment 181361 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.34 KB, created by
Martin Renvoize (ashimema)
on 2025-04-23 10:15:43 UTC
(
hide
)
Description:
Bug 9762: (QA follow-up) Add missing issueconfirmed check
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-04-23 10:15:43 UTC
Size:
1.34 KB
patch
obsolete
>From fdb5bfbe2e03e6d1a624061a24e31241e2df10e0 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 > >--- > C4/Circulation.pm | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 26748dfbc62..8249a69886f 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -1406,12 +1406,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.49.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