From: Bernd Bleßmann Date: Wed, 23 Sep 2015 11:41:44 +0000 (+0200) Subject: Auftrags-Controller: leeres Array taxes anlegen, um "undef-Fehler" zu vermeiden X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f25e6eaa202ee67e5e367d23b90d6aa8d7275a4e;p=kivitendo-erp.git Auftrags-Controller: leeres Array taxes anlegen, um "undef-Fehler" zu vermeiden --- diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 25ec07ca6..17e1d7d31 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -445,6 +445,7 @@ sub _recalc { $self->order->currency_id($::instance_conf->get_currency_id()); my %pat = $self->order->calculate_prices_and_taxes(); + $self->{taxes} = []; foreach my $tax_chart_id (keys %{ $pat{taxes} }) { my $tax = SL::DB::Manager::Tax->find_by(chart_id => $tax_chart_id);