mininmal Kosmetik
authorJan Büren <jan@kivitendo-premium.de>
Tue, 24 Nov 2015 07:48:31 +0000 (08:48 +0100)
committerJan Büren <jan@kivitendo-premium.de>
Thu, 26 Nov 2015 13:44:05 +0000 (14:44 +0100)
SL/Controller/ClientConfig.pm

index 2346f15..d002f42 100644 (file)
@@ -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                                           }