Issue Bug Closed

#98335Option to send email on new broken links only is not working in Linkvalidator scheduler

Dominic Petit 09/12/22, 13:52 updated 10/04/22, 08:54

Description

When this feature is enabled, email reports are never sent.
I think the problem is in the processLinkCounts function in LinkAnalyserResult.php .
The line

foreach (array_keys($linkTypes) as $linkType) {

should be changed to use array_values like this :

foreach (array_values($linkTypes) as $linkType) {

Reviews 2