summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-08-29 16:36:38 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-08-29 16:36:38 +0200
commitb9a226f01b4ad422d90f8e6ed519f1b271533b33 (patch)
tree2df88aa9c5008571d29d61ed376322f6385e497c
parent809817d7d23cbc3fe4f35611d1e9755c750fa4eb (diff)
downloadbugzilla-b9a226f01b4ad422d90f8e6ed519f1b271533b33.tar.gz
bugzilla-b9a226f01b4ad422d90f8e6ed519f1b271533b33.tar.xz
Bug 772620: Ignore empty strings in the CC list
r=dkl a=LpSolit
-rw-r--r--Bugzilla/User.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index f8c490b1a..713de3649 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -1528,6 +1528,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