From: Moritz Bunkus Date: Thu, 4 Apr 2013 08:08:31 +0000 (+0200) Subject: Doppeltes "my" X-Git-Tag: release-3.2.0beta~467^2~203 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c26b5ac5d1a38aca30603605f14feb34db936dd5;p=kivitendo-erp.git Doppeltes "my" --- 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));