summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-01-02 00:18:56 +0100
committerlpsolit%gmail.com <>2009-01-02 00:18:56 +0100
commitcb2ba9f0ac3a9d1d1fd081565864678ee1c04cdd (patch)
tree183c14caeb19a8d4de36127ec7ebca9737c33b95 /enter_bug.cgi
parent435cf060b927b96d7806c9c3aadd15cb9db018a1 (diff)
downloadbugzilla-cb2ba9f0ac3a9d1d1fd081565864678ee1c04cdd.tar.gz
bugzilla-cb2ba9f0ac3a9d1d1fd081565864678ee1c04cdd.tar.xz
Bug 452907: Clone should also preserve "Blocks" and "Depends on" fields - Patch by Nitish Bezzala <nbezzala@yahoo.com> r/a=mkanat
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 28020df0f..245e4b56b 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) {