X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FRequirementSpecType.pm;h=e9bdb7b828dabfdf89c638115aca39b6397795b8;hb=6ba38ffedd99c9d3ade9134b01ac510c50d92d2e;hp=18aa45afda1b2b9fd2fefc64633744ebcf494a5a;hpb=c45b8d02a52b00efe282e14e55cf5c464066eb01;p=kivitendo-erp.git diff --git a/SL/Controller/RequirementSpecType.pm b/SL/Controller/RequirementSpecType.pm index 18aa45afd..e9bdb7b82 100644 --- a/SL/Controller/RequirementSpecType.pm +++ b/SL/Controller/RequirementSpecType.pm @@ -5,7 +5,6 @@ use strict; use parent qw(SL::Controller::Base); use SL::DB::RequirementSpecType; -use SL::DB::Language; use SL::Helper::Flash; use SL::Locale::String; @@ -32,7 +31,7 @@ sub action_list { sub action_new { my ($self) = @_; - $self->{requirement_spec_type} = SL::DB::RequirementSpecType->new; + $self->{requirement_spec_type} = SL::DB::RequirementSpecType->new(template_file_name => 'requirement_spec'); $self->render('requirement_spec_type/form', title => t8('Create a new requirement spec type')); }