summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index f51a1c076..e2cd7f295 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -362,13 +362,13 @@ 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->{'keywords'} = $cloned_bug->keywords;
$vars->{'dependson'} = $cloned_bug_id;
$vars->{'blocked'} = "";
$vars->{'deadline'} = $cloned_bug->{'deadline'};
- if (exists $cloned_bug->{'cc'}) {
- $vars->{'cc'} = join (" ", @{$cloned_bug->{'cc'}});
+ if (defined $cloned_bug->cc) {
+ $vars->{'cc'} = join (" ", @{$cloned_bug->cc});
} else {
$vars->{'cc'} = formvalue('cc');
}