diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-10-07 16:18:05 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-10-07 16:18:05 +0800 |
commit | 87f5c53dd0ff03600275077e7185291b62358ef2 (patch) | |
tree | 1050a4e4338d16afa4f90d729a5d8d816b9363d6 /actions/groupsearch.php | |
parent | aeca8807dbce951beccbc3fb0e5a4ae5600e5e5f (diff) |
Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array of search terms
Diffstat (limited to 'actions/groupsearch.php')
-rw-r--r-- | actions/groupsearch.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/groupsearch.php b/actions/groupsearch.php index be15efc47..517f12789 100644 --- a/actions/groupsearch.php +++ b/actions/groupsearch.php @@ -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'; |