Merge pull request #12037 from MrPetovan/bug/blocklist-clobbered

Fix using wrong variable in DomainPatterBlocklist::extractFromCSVFile
This commit is contained in:
Michael Vogel
2022-10-20 15:57:22 +02:00
committed by GitHub

View File

@@ -192,7 +192,7 @@ class DomainPatternBlocklist
'reason' => $data[1] ?? '',
];
if (!in_array($item, $blocklist)) {
$blocklist[] = $data;
$blocklist[] = $item;
}
}