Commit ef9e98bd authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 183788: make request mail go out when a request is created and…

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
parent 3eb8091b
...@@ -318,9 +318,9 @@ sub create { ...@@ -318,9 +318,9 @@ sub create {
$timestamp)"); $timestamp)");
# Send an email notifying the relevant parties about the flag creation. # Send an email notifying the relevant parties about the flag creation.
if ($flag->{'requestee'} if (($flag->{'requestee'}
&& ($flag->{'requestee'}->email_prefs->{'FlagRequestee'} && $flag->{'requestee'}->email_prefs->{'FlagRequestee'})
|| $flag->{'type'}->{'cc_list'})) || $flag->{'type'}->{'cc_list'})
{ {
notify($flag, "request/email.txt.tmpl"); notify($flag, "request/email.txt.tmpl");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment