#1578 - @username functionality behaves incorrectly

Identifier #1578
Issue type Minor issue (breaks specific functionality)
Title @username functionality behaves incorrectly
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description If a username contains a "-" then the sent forum post appears to send the email to another user.

Take for example a user called bugs-gti, the highlighted username in the sent forum post is bugs.
So it appears that it matches the bugs user and ignores everything after the hyphen.

Please can someone take a look.

It is on vwgolfmk1.org.uk

Cheers
Ade
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated