From b9a226f01b4ad422d90f8e6ed519f1b271533b33 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 29 Aug 2012 16:36:38 +0200 Subject: Bug 772620: Ignore empty strings in the CC list r=dkl a=LpSolit --- Bugzilla/User.pm | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-24-g4f1b