mirror of
https://github.com/flarum/core.git
synced 2025-08-13 03:44:32 +02:00
fix: filter values are not validated (#3795)
This commit is contained in:
@@ -63,7 +63,7 @@ class SuspendedFilterGambit extends AbstractRegexGambit implements FilterInterfa
|
||||
return 'suspended';
|
||||
}
|
||||
|
||||
public function filter(FilterState $filterState, string $filterValue, bool $negate)
|
||||
public function filter(FilterState $filterState, $filterValue, bool $negate)
|
||||
{
|
||||
if (! $filterState->getActor()->can('suspend', new Guest())) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user