summaryrefslogtreecommitdiffstats
path: root/Bugzilla/User.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-07-28 01:45:14 +0200
committerGitHub <noreply@github.com>2017-07-28 01:45:14 +0200
commit489897a6a78c41781ac5a5b1db222896cc90b33d (patch)
tree23e2b457fd004a0f5f6976eb46af340b80a3639a /Bugzilla/User.pm
parent1defbc2e962683d0e740e8850e2544cfd1d6acb5 (diff)
downloadbugzilla-489897a6a78c41781ac5a5b1db222896cc90b33d.tar.gz
bugzilla-489897a6a78c41781ac5a5b1db222896cc90b33d.tar.xz
Bug 1378873 - user autocomplete no longer works for some strings
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} = {