format
This commit is contained in:
@ -56,7 +56,9 @@ class Relationships extends Extension
|
||||
|
||||
public function onSearchTermParse(SearchTermParseEvent $event)
|
||||
{
|
||||
if(is_null($event->term)) return;
|
||||
if (is_null($event->term)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$matches = [];
|
||||
if (preg_match("/^parent[=|:]([0-9]+|any|none)$/", $event->term, $matches)) {
|
||||
|
Reference in New Issue
Block a user