Fix for bug 183788: make request mail go out when a request is created and there's no requestee but there is a cc: list

This commit is contained in:
myk%mozilla.org 2003-10-25 01:34:33 +00:00
parent 4d26e30240
commit faef12b141

View File

@ -318,9 +318,9 @@ sub create {
$timestamp)");
# Send an email notifying the relevant parties about the flag creation.
if ($flag->{'requestee'}
&& ($flag->{'requestee'}->email_prefs->{'FlagRequestee'}
|| $flag->{'type'}->{'cc_list'}))
if (($flag->{'requestee'}
&& $flag->{'requestee'}->email_prefs->{'FlagRequestee'})
|| $flag->{'type'}->{'cc_list'})
{
notify($flag, "request/email.txt.tmpl");
}