]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 183788: make request mail go out when a request is created and there...
authormyk%mozilla.org <>
Sat, 25 Oct 2003 08:34:33 +0000 (08:34 +0000)
committermyk%mozilla.org <>
Sat, 25 Oct 2003 08:34:33 +0000 (08:34 +0000)
Bugzilla/Flag.pm

index fe54e9d65726f442aa48ba908b02391e89c46793..a766e9e6fecfd5f6530410fb1d874ef023709608 100644 (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");
     }