From: Bernd Bleßmann Date: Fri, 18 May 2018 12:44:17 +0000 (+0200) Subject: Typo in Fehlermeldung X-Git-Tag: release-3.5.4~405 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5af5ceee5d89174f2429aceb0d1a5c26b71a9aa4;p=kivitendo-erp.git Typo in Fehlermeldung --- 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)