Revision c26b5ac5
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/DB/RequirementSpecItem.pm | ||
---|---|---|
62 | 62 |
|
63 | 63 |
$self->requirement_spec->update_attributes($method => $next_number) || return 0; |
64 | 64 |
|
65 |
my $method = 'requirement_spec_' . ($self->parent_id ? 'function_block' : 'section') . '_number_format';
|
|
65 |
$method = 'requirement_spec_' . ($self->parent_id ? 'function_block' : 'section') . '_number_format';
|
|
66 | 66 |
my $format = SL::DB::Default->get->$method; |
67 | 67 |
|
68 | 68 |
$self->fb_number(SL::PrefixedNumber->new(number => $format || 0)->set_to($next_number)); |
Auch abrufbar als: Unified diff
Doppeltes "my"