summaryrefslogtreecommitdiffstats
path: root/Bugzilla/User.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 525733069..fafd3551d 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -215,7 +215,7 @@ sub es_document {
},
};
my $name = $self->name;
- my @nicks = defined($name) ? ( $name =~ /:(\w+)\b/mg ) : ();
+ my @nicks = extract_nicks($name);
if (@nicks) {
$doc->{suggest_nick} = {