Fix using wrong variable in DomainPatterBlocklist::extractFromCSVFile

- This was clobbering the internal block list structure from an associative array to a simple list
This commit is contained in:
Hypolite Petovan 2022-10-20 09:45:40 -04:00
parent 92f1a4533b
commit eaf1485c6f

View file

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