[BUGFIX] Wrong email list in linkvalidator task 80/27580/2
authorMarkus Klein <klein.t3@mfc-linz.at>
Wed, 12 Feb 2014 13:48:05 +0000 (14:48 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 13 Feb 2014 05:01:11 +0000 (06:01 +0100)
The validator task of the linkvalidator scheduler task sets
the validated email addresses now instead of the raw user input.

Resolves: #55922
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Id1a93de455decd7a223ef271499679628892e4c4
Reviewed-on: https://review.typo3.org/27580
Reviewed-by: Online Now! GmbH
Tested-by: Online Now! GmbH
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
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;
                }