summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global')
-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 %]