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