summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-08-29 16:33:34 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-08-29 16:33:34 +0200
commit6719d2804ffb80d226fd1403d261bd971864ed78 (patch)
tree1dde08933006948feedcedbd19c2dc693d595fc0 /Bugzilla
parentb558c3562a30b140871d6b0a21f2d4c8b4340dbe (diff)
downloadbugzilla-6719d2804ffb80d226fd1403d261bd971864ed78.tar.gz
bugzilla-6719d2804ffb80d226fd1403d261bd971864ed78.tar.xz
Bug 772620: Ignore empty strings in the CC list
r=dkl a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/User.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 708d12c64..0bf945084 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