From 5af5ceee5d89174f2429aceb0d1a5c26b71a9aa4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 18 May 2018 14:44:17 +0200 Subject: [PATCH] Typo in Fehlermeldung --- SL/DB/Order.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 6baa0e20d..3eb2078dc 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -202,7 +202,7 @@ sub new_from { my ($class, $source, %params) = @_; croak("Unsupported source object type '" . ref($source) . "'") unless ref($source) eq 'SL::DB::Order'; - croak("A destination type must be given parameter") unless $params{destination_type}; + croak("A destination type must be given as parameter") unless $params{destination_type}; my $destination_type = delete $params{destination_type}; my $src_dst_allowed = ('sales_quotation' eq $source->type && 'sales_order' eq $destination_type) -- 2.20.1