Bugzilla – Attachment 131743 Details for
Bug 20817
Add ability to retain 9xx fields when adding on order item to existing record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20817: _trim should always return a value
Bug-20817-trim-should-always-return-a-value.patch (text/plain), 702 bytes, created by
Kyle M Hall
on 2022-03-15 15:51:01 UTC
(
hide
)
Description:
Bug 20817: _trim should always return a value
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2022-03-15 15:51:01 UTC
Size:
702 bytes
patch
obsolete
>From 4749ac41560a7a02879e35339426fe52e9e8e486 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 13 Jul 2021 15:16:13 -0400 >Subject: [PATCH] Bug 20817: _trim should always return a value > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >--- > acqui/neworderempty.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index 76c19f9d8f..4f5550fc94 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -701,5 +701,5 @@ sub _trim { > my $string = shift; > return unless $string; > $string =~ s/^\s+|\s+$//g; >- return $string; >+ return $string // q{}; > } >-- >2.30.2
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 20817
:
79867
|
80537
|
86711
|
86746
|
105214
|
105215
|
105216
|
105217
|
105218
|
105219
|
115343
|
118371
|
118372
|
118373
|
118374
|
118375
|
118376
|
118377
|
118378
|
122692
|
122834
|
122841
|
122858
|
122861
|
128766
|
128767
|
128768
|
128769
|
128770
|
128771
|
128772
|
128773
|
128774
|
128775
|
128776
|
128777
|
128782
|
128783
|
128785
|
128786
|
128787
|
128788
|
128789
|
128790
|
128791
|
128792
|
128793
|
128794
|
128795
|
128796
|
128797
|
128798
|
131732
|
131733
|
131734
|
131735
|
131736
|
131737
|
131738
|
131739
|
131740
|
131741
|
131742
|
131743
|
131744
|
131745
|
131746
|
131747
|
131748
|
131749
|
142630
|
142631
|
142632
|
142633
|
142634
|
142635
|
142636
|
142637
|
142638
|
142639
|
142640
|
142641
|
142642
|
142643
|
142644
|
142645
|
142646
|
142647
|
142648
|
142649
|
142650
|
142651
|
142829