Merge pull request #12037 from MrPetovan/bug/blocklist-clobbered
Fix using wrong variable in DomainPatterBlocklist::extractFromCSVFile
This commit is contained in:
commit
66a4c30eb7
|
@ -192,7 +192,7 @@ class DomainPatternBlocklist
|
|||
'reason' => $data[1] ?? '',
|
||||
];
|
||||
if (!in_array($item, $blocklist)) {
|
||||
$blocklist[] = $data;
|
||||
$blocklist[] = $item;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user