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