From 3d8ff4399629d69c0bb346afe3d0ff8a6dd6d319 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 10 Dec 2010 14:18:37 +0100 Subject: [PATCH] =?utf8?q?Falscher=20Accessor=20f=C3=BCr=20Vorlagensprache?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/FlattenToForm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index beaaa051c..9fc9b5c22 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -44,7 +44,7 @@ sub flatten_to_form { _copy($self->acceptance_confirmed_by, $form, 'acceptance_confirmed_by_', '', 0, map { $_->name } SL::DB::Employee->meta->columns) if _has($self, 'acceptance_confirmed_by_id'); $form->{employee} = $self->employee->name if _has($self, 'employee_id'); - $form->{language} = $self->language_code if _has($self, 'language_id'); + $form->{language} = $self->language->template_code if _has($self, 'language_id'); $form->{department} = $self->department->description if _has($self, 'department_id'); $form->{rowcount} = scalar(@{ $self->items }); -- 2.20.1