From: Frédéric Buclin Date: Wed, 29 Aug 2012 14:33:34 +0000 (+0200) Subject: Bug 772620: Ignore empty strings in the CC list X-Git-Tag: bugzilla-4.3.3~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6719d2804ffb80d226fd1403d261bd971864ed78;p=thirdparty%2Fbugzilla.git Bug 772620: Ignore empty strings in the CC list r=dkl a=LpSolit --- diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 708d12c64e..0bf9450847 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1541,6 +1541,8 @@ sub match_field { my @logins; for my $query (@queries) { $query = trim($query); + next if $query eq ''; + my $users = match( $query, # match string $limit, # match limit