diff options
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi index 7a8cebf43..1f80501d5 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -208,7 +208,7 @@ if ($cloned_bug_id) { $vars->{'deadline'} = $cloned_bug->deadline; $vars->{'estimated_time'} = $cloned_bug->estimated_time; - if (defined $cloned_bug->cc) { + if (scalar @{$cloned_bug->cc}) { $vars->{'cc'} = join (", ", @{$cloned_bug->cc}); } else { $vars->{'cc'} = formvalue('cc'); |