mirror of
https://github.com/friendica/friendica
synced 2024-11-12 23:42:54 +00:00
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] ?? '',
|
'reason' => $data[1] ?? '',
|
||||||
];
|
];
|
||||||
if (!in_array($item, $blocklist)) {
|
if (!in_array($item, $blocklist)) {
|
||||||
$blocklist[] = $data;
|
$blocklist[] = $item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue