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