From: Jan Büren Date: Thu, 4 Dec 2014 15:48:32 +0000 (+0100) Subject: no lexical postif in DeliveryPlan.pm X-Git-Tag: release-3.2.0beta~205 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d08148b9ed1b0d7a34900076e977de9ecdc2af88;p=kivitendo-erp.git no lexical postif in DeliveryPlan.pm test ausführen, nicht vergessen!!! @myself --- diff --git a/SL/Controller/DeliveryPlan.pm b/SL/Controller/DeliveryPlan.pm index a69702f1b..411a9940e 100644 --- a/SL/Controller/DeliveryPlan.pm +++ b/SL/Controller/DeliveryPlan.pm @@ -119,12 +119,13 @@ sub make_filter_summary { my ($self) = @_; my $vc = $self->vc; my $mode = $self->mode; + my ($business, $employee); my $filter = $::form->{filter} || {}; my @filter_strings; - my $business = SL::DB::Business->new(id => $filter->{order}{customer}{"business_id"})->load->description if $filter->{order}{customer}{"business_id"}; - my $employee = SL::DB::Employee->new(id => $filter->{order}{employee_id})->load->name if $filter->{order}{employee_id}; + $business = SL::DB::Business->new(id => $filter->{order}{customer}{"business_id"})->load->description if $filter->{order}{customer}{"business_id"}; + $employee = SL::DB::Employee->new(id => $filter->{order}{employee_id})->load->name if $filter->{order}{employee_id}; my @filters = ( [ $filter->{order}{"ordnumber:substr::ilike"}, $::locale->text('Number') ],