projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa92a5
)
Doppeltes "my"
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 4 Apr 2013 08:08:31 +0000
(10:08 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:02:29 +0000
(13:02 +0200)
SL/DB/RequirementSpecItem.pm
patch
|
blob
|
history
diff --git
a/SL/DB/RequirementSpecItem.pm
b/SL/DB/RequirementSpecItem.pm
index
5e62352
..
8ed37b9
100644
(file)
--- 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));