mirror of
https://github.com/friendica/friendica
synced 2024-12-23 10:40:16 +00:00
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
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