[BUGFIX] Wrong email list in linkvalidator task
[Packages/TYPO3.CMS.git] / typo3 / sysext / linkvalidator / Classes / Task / ValidatorTask.php
index 5c0a6c6..c27936b 100644 (file)
@@ -453,7 +453,7 @@ class ValidatorTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask {
                        }
                }
                if (is_array($validEmailList) && !empty($validEmailList)) {
-                       $mail->setTo($this->email);
+                       $mail->setTo($validEmailList);
                } else {
                        $sendEmail = FALSE;
                }