format
This commit is contained in:
@ -342,7 +342,9 @@ class CommentList extends Extension
|
||||
|
||||
public function onSearchTermParse(SearchTermParseEvent $event)
|
||||
{
|
||||
if(is_null($event->term)) return;
|
||||
if (is_null($event->term)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$matches = [];
|
||||
if (preg_match("/^comments([:]?<|[:]?>|[:]?<=|[:]?>=|[:|=])(\d+)$/i", $event->term, $matches)) {
|
||||
|
Reference in New Issue
Block a user