mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 02:36:38 +02:00
[ticket/17135] Fix code flaws
PHPBB-17135
This commit is contained in:
@@ -114,7 +114,7 @@ abstract class messenger_base extends \phpbb\notification\method\base
|
||||
|
||||
/** @psalm-suppress InvalidTemplateParam */
|
||||
$messenger_collection_iterator = $this->messenger->getIterator();
|
||||
while ($messenger_collection_iterator as $messenger_method)
|
||||
foreach ($messenger_collection_iterator as $messenger_method)
|
||||
{
|
||||
if ($messenger_method->get_id() == $notify_method || $notify_method == NOTIFY_BOTH)
|
||||
{
|
||||
|
Reference in New Issue
Block a user