From: lpsolit%gmail.com <> Date: Thu, 17 Mar 2005 23:50:44 +0000 (+0000) Subject: Bug 278717: Can't create "create bug" template with multiple CCs if you use usemenufo... X-Git-Tag: bugzilla-2.19.3~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f1d0c99604360f610b50325ae94e0f3e4de3e4a;p=thirdparty%2Fbugzilla.git Bug 278717: Can't create "create bug" template with multiple CCs if you use usemenuforusers - Patch by Marc Schumann r=myk, a=myk --- diff --git a/enter_bug.cgi b/enter_bug.cgi index 58662489a3..5161fd2178 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -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'); diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl index 24b16c9ecf..7a46891abd 100644 --- a/template/en/default/global/userselect.html.tmpl +++ b/template/en/default/global/userselect.html.tmpl @@ -41,9 +41,9 @@ [% END %] [% FOREACH tmpuser = user.get_userlist %] - [% IF tmpuser.visible OR value == tmpuser.login %] + [% IF tmpuser.visible OR value.match("\\b$tmpuser.login\\b") %] [% END %] [% END %]