From: Alexander Ebert Date: Tue, 3 Mar 2015 18:08:38 +0000 (+0100) Subject: Stripped comment X-Git-Tag: 2.1.1~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a7173887e374214acd206ce0fcdafe71970f69ca;p=GitHub%2FWoltLab%2FWCF.git Stripped comment --- diff --git a/wcfsetup/install/files/lib/system/event/listener/PreParserAtUserListener.class.php b/wcfsetup/install/files/lib/system/event/listener/PreParserAtUserListener.class.php index 9acc7e5959..435ad75f79 100644 --- a/wcfsetup/install/files/lib/system/event/listener/PreParserAtUserListener.class.php +++ b/wcfsetup/install/files/lib/system/event/listener/PreParserAtUserListener.class.php @@ -82,7 +82,7 @@ class PreParserAtUserListener implements IParameterizedEventListener { $userRegex->match($text, true, Regex::ORDER_MATCH_BY_SET); $matches = $userRegex->getMatches(); - // + if (!empty($matches)) { $usernames = array(); foreach ($matches as $match) {