Bugzilla – Attachment 185665 Details for
Bug 20644
Per itemtype setting for CheckPrevCheckout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20644: (follow-up) Dont allow NULL value when the dropdown doesnt exist
Bug-20644-follow-up-Dont-allow-NULL-value-when-the.patch (text/plain), 942 bytes, created by
Lucas Gass (lukeg)
on 2025-08-21 20:38:02 UTC
(
hide
)
Description:
Bug 20644: (follow-up) Dont allow NULL value when the dropdown doesnt exist
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-08-21 20:38:02 UTC
Size:
942 bytes
patch
obsolete
>From 72b148fdb48872afcd657465ef6c3053ff1b5195 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 21 Aug 2025 20:36:53 +0000 >Subject: [PATCH] Bug 20644: (follow-up) Dont allow NULL value when the > dropdown doesnt exist > >--- > admin/itemtypes.pl | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl >index 1acc49bdd5b..cfccde48da9 100755 >--- a/admin/itemtypes.pl >+++ b/admin/itemtypes.pl >@@ -121,7 +121,10 @@ if ( $op eq 'add_form' ) { > $itemtype->rentalcharge_hourly_calendar($rentalcharge_hourly_calendar); > $itemtype->automatic_checkin($automatic_checkin); > $itemtype->bookable($bookable); >- $itemtype->checkprevcheckout($checkprevcheckout); >+ >+ if ( defined $checkprevcheckout ) { >+ $itemtype->checkprevcheckout($checkprevcheckout); >+ } > > eval { > $itemtype->store; >-- >2.39.5
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 20644
:
156974
|
156977
|
163627
|
165585
|
165586
|
165661
|
165662
|
170619
|
170620
|
170621
|
170622
|
176538
|
176539
|
178093
|
178094
|
179812
|
179813
|
179814
|
179815
|
180375
|
181680
|
181681
|
182469
|
182470
|
182476
|
182477
|
182787
|
182788
|
183403
|
183404
|
183405
|
183406
|
183407
|
183408
|
185448
|
185449
|
185450
|
185451
|
185478
|
185479
|
185480
|
185481
|
185557
|
185558
|
185559
|
185560
|
185665
|
185666
|
185669
|
185670
|
185671
|
185672
|
185673