From e2119606d5a6ace9fbf453aee9644d56b7f1e1f9 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 27 Sep 2018 06:36:03 -0400 Subject: [PATCH] Bug 21417: Fix the warning lines to output the basketno --- Koha/Edifact/Order.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Koha/Edifact/Order.pm b/Koha/Edifact/Order.pm index dcab51dede..19eda88b6f 100644 --- a/Koha/Edifact/Order.pm +++ b/Koha/Edifact/Order.pm @@ -60,13 +60,11 @@ sub new { return; } if ( !$self->{recipient} ) { - carp -"No vendor passed to order creation: basket = $self->{basket}->basketno()"; + carp "No vendor passed to order creation: basket = " . $self->{basket}->basketno(); return; } if ( !$self->{sender} ) { - carp -"No sender ean passed to order creation: basket = $self->{basket}->basketno()"; + carp "No sender ean passed to order creation: basket = " . $self->{basket}->basketno(); return; } -- 2.17.1 (Apple Git-112)