Commit 0a99f521 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 277389: Modify flag notification code so it doesn't append…

Patch for bug 277389: Modify flag notification code so it doesn't append emailsuffix to CC list's addresses; patch by Marc Schumann <wurblzap@gmail.com>, r=wurblzap, a=justdave.
parent 78d77d88
...@@ -622,7 +622,7 @@ sub notify { ...@@ -622,7 +622,7 @@ sub notify {
next if $flag->{'target'}->{'attachment'}->{'isprivate'} next if $flag->{'target'}->{'attachment'}->{'isprivate'}
&& Param("insidergroup") && Param("insidergroup")
&& !$ccuser->in_group(Param("insidergroup")); && !$ccuser->in_group(Param("insidergroup"));
push(@new_cc_list, $cc.Param('emailsuffix')); push(@new_cc_list, $cc);
} }
$flag->{'type'}->{'cc_list'} = join(", ", @new_cc_list); $flag->{'type'}->{'cc_list'} = join(", ", @new_cc_list);
} }
......
...@@ -163,7 +163,14 @@ ...@@ -163,7 +163,14 @@
<tr> <tr>
<th>CC List:</th> <th>CC List:</th>
<td> <td>
if requestable, who should get carbon copied on email notification of requests<br> if requestable, who should get carbon copied on email notification of requests.
This is a comma-separated list of full e-mail addresses which do not
need to be [% terms.Bugzilla %] logins.
[% IF Param('emailsuffix') %]
Note that the configured emailsuffix
<kbd>[% Param('emailsuffix') %]</kbd> will <em>not</em> be appended
to these addresses, so you should add it explicitly if so desired.
[% END %]<br>
<input type="text" name="cc_list" value="[% type.cc_list FILTER html %]" size="80" maxlength="200"> <input type="text" name="cc_list" value="[% type.cc_list FILTER html %]" size="80" maxlength="200">
</td> </td>
</tr> </tr>
......
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