only one member was notified when mentioning a user group
authorMarcel Werk <burntime@woltlab.com>
Thu, 13 Feb 2020 23:37:25 +0000 (00:37 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 13 Feb 2020 23:37:25 +0000 (00:37 +0100)
wcfsetup/install/files/lib/util/MessageUtil.class.php

index 1c35d87fa2325ab3f9b2cf0e5adf62503d3ab678..a66b0b6a454eb76deb8a098ccd51871f56b74f88 100644 (file)
@@ -92,7 +92,7 @@ class MessageUtil {
                                ".$conditions;
                        $statement = WCF::getDB()->prepareStatement($sql);
                        $statement->execute($conditions->getParameters());
-                       while ($username = $statement->fetchSingleColumn()) {
+                       while ($username = $statement->fetchColumn()) {
                                $usernames[] = $username;
                        }
                }