From 5006b69331047e1ca2de36bc44c3d20e7d30ebb9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 7 Apr 2021 16:07:09 +0200 Subject: [PATCH] Bug 15348: trivial code simplification MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian Stelzenmüller Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- acqui/lateorders-export.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/lateorders-export.pl b/acqui/lateorders-export.pl index f86f724939..207c879e31 100755 --- a/acqui/lateorders-export.pl +++ b/acqui/lateorders-export.pl @@ -44,7 +44,7 @@ unless ( $csv_profile_id ) { push @orders, { orderdate => $order->{orderdate}, latesince => $order->{latesince}, - estimateddeliverydate => $order->{estimated_delivery_date} ? $order->{estimated_delivery_date} : $order->{calculateddeliverydate}, + estimateddeliverydate => $order->{estimated_delivery_date} || $order->{calculateddeliverydate}, supplier => $order->{supplier}, supplierid => $order->{supplierid}, title => $order->{title}, -- 2.39.5