Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array of search terms
This commit is contained in:
parent
aeca8807db
commit
87f5c53dd0
@ -106,7 +106,7 @@ class GroupSearchResults extends GroupList
|
||||
|
||||
function __construct($user_group, $terms, $action)
|
||||
{
|
||||
parent::__construct($user_group, $terms, $action);
|
||||
parent::__construct($user_group, null, $action);
|
||||
$this->terms = array_map('preg_quote',
|
||||
array_map('htmlspecialchars', $terms));
|
||||
$this->pattern = '/('.implode('|',$terms).')/i';
|
||||
|
Loading…
Reference in New Issue
Block a user