From b6195db7d8aad54816866b5152961b4709491734 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 24 Nov 2015 08:48:31 +0100 Subject: [PATCH] mininmal Kosmetik --- SL/Controller/ClientConfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/ClientConfig.pm b/SL/Controller/ClientConfig.pm index 2346f15da..d002f427a 100644 --- a/SL/Controller/ClientConfig.pm +++ b/SL/Controller/ClientConfig.pm @@ -146,7 +146,7 @@ sub init_all_languages { SL::DB::Manager::Language->get_all_sorted sub init_all_currencies { SL::DB::Manager::Currency->get_all_sorted } sub init_all_weightunits { my $unit = SL::DB::Manager::Unit->find_by(name => 'kg'); $unit ? $unit->convertible_units : [] } sub init_all_templates { +{ SL::Template->available_templates } } -sub init_h_unit_name { first { SL::DB::Manager::Unit->find_by(name => $_) } qw(Std h Stunde) }; +sub init_h_unit_name { first { SL::DB::Manager::Unit->find_by(name => $_) } qw(Std h Stunde) } sub init_all_project_types { SL::DB::Manager::ProjectType->get_all_sorted } sub init_all_project_statuses { SL::DB::Manager::ProjectStatus->get_all_sorted } -- 2.20.1