From: lpsolit%gmail.com <> Date: Thu, 1 Jan 2009 23:18:56 +0000 (+0000) Subject: Bug 452907: Clone should also preserve "Blocks" and "Depends on" fields - Patch by... X-Git-Tag: bugzilla-3.3.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb2ba9f0ac3a9d1d1fd081565864678ee1c04cdd;p=thirdparty%2Fbugzilla.git Bug 452907: Clone should also preserve "Blocks" and "Depends on" fields - Patch by Nitish Bezzala r/a=mkanat --- diff --git a/enter_bug.cgi b/enter_bug.cgi index 28020df0f0..245e4b56bd 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -399,8 +399,8 @@ if ($cloned_bug_id) { $vars->{'short_desc'} = $cloned_bug->short_desc; $vars->{'bug_file_loc'} = $cloned_bug->bug_file_loc; $vars->{'keywords'} = $cloned_bug->keywords; - $vars->{'dependson'} = $cloned_bug_id; - $vars->{'blocked'} = ""; + $vars->{'dependson'} = join (", ", $cloned_bug_id, @{$cloned_bug->dependson}); + $vars->{'blocked'} = join (", ", @{$cloned_bug->blocked}); $vars->{'deadline'} = $cloned_bug->deadline; if (defined $cloned_bug->cc) {