Commit 7f1d0c99 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 278717: Can't create "create bug" template with multiple CCs if you use…

Bug 278717: Can't create "create bug" template with multiple CCs if you use usemenuforusers - Patch by Marc Schumann <wurblzap@gmail.com> r=myk, a=myk
parent ce4faab6
......@@ -411,7 +411,7 @@ else {
$vars->{'blocked'} = formvalue('blocked');
$vars->{'deadline'} = formvalue('deadline');
$vars->{'cc'} = formvalue('cc');
$vars->{'cc'} = join(', ', $cgi->param('cc'));
$vars->{'comment'} = formvalue('comment');
$vars->{'commentprivacy'} = formvalue('commentprivacy');
......
......@@ -41,9 +41,9 @@
<option value=""></option>
[% END %]
[% FOREACH tmpuser = user.get_userlist %]
[% IF tmpuser.visible OR value == tmpuser.login %]
[% IF tmpuser.visible OR value.match("\\b$tmpuser.login\\b") %]
<option value="[% tmpuser.login FILTER html %]"
[% " selected" IF value == tmpuser.login %]
[% " selected=\"selected\"" IF value.match("\\b$tmpuser.login\\b") %]
>[% tmpuser.identity FILTER html %]</option>
[% END %]
[% END %]
......
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