From fe14b8f3aa4003dc9632b93fa17b11debfef8b12 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 13 Jul 2021 15:16:13 -0400 Subject: [PATCH] Bug 20817: _trim should always return a value --- acqui/neworderempty.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 1502d2484b..b8069f3203 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -696,5 +696,5 @@ sub _trim { my $string = shift; return unless $string; $string =~ s/^\s+|\s+$//g; - return $string; + return $string // q{}; } -- 2.30.1 (Apple Git-130)