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},