From: Alexander Ebert Date: Fri, 9 Apr 2021 14:38:22 +0000 (+0200) Subject: Detection of repeated mentions with the first mention at index 0 X-Git-Tag: 5.3.6~23 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3ef7958d2c28fc910b209acef1affe0542d1492;p=GitHub%2FWoltLab%2FWCF.git Detection of repeated mentions with the first mention at index 0 --- diff --git a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeTextParser.class.php b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeTextParser.class.php index a789066f88..79dea3071a 100644 --- a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeTextParser.class.php +++ b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeTextParser.class.php @@ -384,7 +384,7 @@ class HtmlInputNodeTextParser { $offset = $pos + mb_strlen($marker); } } - while ($pos); + while ($pos !== false); }; foreach ($users as $userID => $username) {