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
commit 66a4c30eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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