diff options
author | Dylan William Hardison <dylan@hardison.net> | 2016-05-27 20:30:24 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-05-27 20:30:24 +0200 |
commit | e7f837cb8f0fa2e57316e880d68a4b4e7a8b2d94 (patch) | |
tree | 468e99bc83a5024fa3b6b8a36903a044e53bc467 | |
parent | 7b4ca46f30dbc9a5756e3b801a529bfc015c3b4b (diff) | |
download | bugzilla-e7f837cb8f0fa2e57316e880d68a4b4e7a8b2d94.tar.gz bugzilla-e7f837cb8f0fa2e57316e880d68a4b4e7a8b2d94.tar.xz |
Bug 1220807 - The new UI doesn't show anything for the review requester in the attachments table if their name contains :\s
-rw-r--r-- | extensions/BugModal/lib/MonkeyPatches.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/lib/MonkeyPatches.pm b/extensions/BugModal/lib/MonkeyPatches.pm index f0774b0e5..61f945a87 100644 --- a/extensions/BugModal/lib/MonkeyPatches.pm +++ b/extensions/BugModal/lib/MonkeyPatches.pm @@ -43,7 +43,7 @@ use warnings; sub moz_nick { my ($self) = @_; if (!exists $self->{moz_nick}) { - if ($self->name =~ /:?:(.+?)\b/) { + if ($self->name =~ /:?:(\S+?)\b/) { $self->{moz_nick} = $1; } elsif ($self->name) { |