summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-03-18 00:50:44 +0100
committerlpsolit%gmail.com <>2005-03-18 00:50:44 +0100
commit7f1d0c99604360f610b50325ae94e0f3e4de3e4a (patch)
treec37127ee035bc17b558f9ff67f3bdde734372b0a /template
parentce4faab687b850cbd61c2d6a844c20958db69327 (diff)
downloadbugzilla-7f1d0c99604360f610b50325ae94e0f3e4de3e4a.tar.gz
bugzilla-7f1d0c99604360f610b50325ae94e0f3e4de3e4a.tar.xz
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
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/userselect.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl
index 24b16c9ec..7a46891ab 100644
--- a/template/en/default/global/userselect.html.tmpl
+++ b/template/en/default/global/userselect.html.tmpl
@@ -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 %]