diff options
author | mkanat%kerio.com <> | 2005-03-09 07:57:32 +0000 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-03-09 07:57:32 +0000 |
commit | 5b1b54e9b96da06b6802f79108a20080f7f93f18 (patch) | |
tree | 450990351a363bfe2ff67666d46da3a53624f428 /enter_bug.cgi | |
parent | Bug 281582: Replace CONCAT and MATCH with Bugzilla::DB function call (Note: T... (diff) | |
download | bugzilla-5b1b54e9b96da06b6802f79108a20080f7f93f18.tar.gz bugzilla-5b1b54e9b96da06b6802f79108a20080f7f93f18.tar.bz2 bugzilla-5b1b54e9b96da06b6802f79108a20080f7f93f18.zip |
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'); } |