mirror of
https://github.com/flarum/core.git
synced 2025-08-16 21:34:08 +02:00
fix: filter values are not validated (#3795)
This commit is contained in:
@@ -32,7 +32,7 @@ class StickyFilterGambit extends AbstractRegexGambit implements FilterInterface
|
||||
return 'sticky';
|
||||
}
|
||||
|
||||
public function filter(FilterState $filterState, string $filterValue, $negate)
|
||||
public function filter(FilterState $filterState, $filterValue, $negate)
|
||||
{
|
||||
$this->constrain($filterState->getQuery(), $negate);
|
||||
}
|
||||
|
Reference in New Issue
Block a user