From c26b5ac5d1a38aca30603605f14feb34db936dd5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 4 Apr 2013 10:08:31 +0200 Subject: [PATCH] Doppeltes "my" --- SL/DB/RequirementSpecItem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/RequirementSpecItem.pm b/SL/DB/RequirementSpecItem.pm index 5e6235238..8ed37b9d7 100644 --- a/SL/DB/RequirementSpecItem.pm +++ b/SL/DB/RequirementSpecItem.pm @@ -62,7 +62,7 @@ sub _before_save_create_fb_number { $self->requirement_spec->update_attributes($method => $next_number) || return 0; - my $method = 'requirement_spec_' . ($self->parent_id ? 'function_block' : 'section') . '_number_format'; + $method = 'requirement_spec_' . ($self->parent_id ? 'function_block' : 'section') . '_number_format'; my $format = SL::DB::Default->get->$method; $self->fb_number(SL::PrefixedNumber->new(number => $format || 0)->set_to($next_number)); -- 2.20.1