From: Sven Schöling Date: Wed, 20 Dec 2017 13:15:42 +0000 (+0100) Subject: Presenter: Neue Struktur in RecordLinks X-Git-Tag: release-3.5.4~553 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=71fb51fb1cb66e6fefc6792fc6a25fed2a215f25;p=kivitendo-erp.git Presenter: Neue Struktur in RecordLinks --- diff --git a/SL/Controller/RecordLinks.pm b/SL/Controller/RecordLinks.pm index 29921c6d3..67b97d92e 100644 --- a/SL/Controller/RecordLinks.pm +++ b/SL/Controller/RecordLinks.pm @@ -106,7 +106,7 @@ sub action_ajax_add_filter { my $presenter = $self->presenter; my @link_type_select = map { [ $_->{type}, $_->{title} ] } @link_types; - my @projects = map { [ $_->id, $presenter->project($_, display => 'inline', style => 'both', no_link => 1) ] } @{ SL::DB::Manager::Project->get_all_sorted }; + my @projects = map { [ $_->id, $_->presenter->project(display => 'inline', style => 'both', no_link => 1) ] } @{ SL::DB::Manager::Project->get_all_sorted }; my $is_sales = $self->object->can('customer_id') && $self->object->customer_id; $self->render(