From 8042b06390250f49f631543313a296ae69686c4d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 15 Jul 2013 18:04:32 +0200 Subject: [PATCH] =?utf8?q?Pflichtenhefte:=20Beim=20Einf=C3=BCgen=20ganzer?= =?utf8?q?=20Vorlagen=20Nummerierung=20neu=20vergeben?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/RequirementSpec.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/DB/RequirementSpec.pm b/SL/DB/RequirementSpec.pm index 72651a3c3..0ad61aa69 100644 --- a/SL/DB/RequirementSpec.pm +++ b/SL/DB/RequirementSpec.pm @@ -165,6 +165,7 @@ sub _copy_from { my $cloned = Rose::DB::Object::Helpers::clone_and_reset($item); $cloned->requirement_spec_id($self->id); $cloned->position(undef); + $cloned->fb_number(undef) if $params->{paste_template}; $cloned->children(map { $clone_item->($_) } @{ $item->children }); $id_to_clone{ $item->id } = $cloned; -- 2.20.1