diff options
author | mkanat%kerio.com <> | 2005-03-09 08:57:32 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-03-09 08:57:32 +0100 |
commit | 5b1b54e9b96da06b6802f79108a20080f7f93f18 (patch) | |
tree | 450990351a363bfe2ff67666d46da3a53624f428 /enter_bug.cgi | |
parent | 5be75754f810eb414b666f3894e2dbf8943e3f0f (diff) | |
download | bugzilla-5b1b54e9b96da06b6802f79108a20080f7f93f18.tar.gz bugzilla-5b1b54e9b96da06b6802f79108a20080f7f93f18.tar.xz |
Bug 282145: Bug.pm is too slow for general use
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=gerv, a=myk
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 6 |
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'); } |