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:
@@ -192,7 +192,7 @@ class DomainPatternBlocklist
|
||||
'reason' => $data[1] ?? '',
|
||||
];
|
||||
if (!in_array($item, $blocklist)) {
|
||||
$blocklist[] = $data;
|
||||
$blocklist[] = $item;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user