From: myk%mozilla.org <> Date: Sat, 25 Oct 2003 08:34:33 +0000 (+0000) Subject: Fix for bug 183788: make request mail go out when a request is created and there... X-Git-Tag: bugzilla-2.17.5~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef9e98bdb9fefc28169e4a8038f77d328878adf9;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index fe54e9d657..a766e9e6fe 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -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"); }