summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2009-10-07 16:18:05 +0800
committerJeffery To <jeffery.to@gmail.com>2009-10-07 16:18:05 +0800
commit87f5c53dd0ff03600275077e7185291b62358ef2 (patch)
tree1050a4e4338d16afa4f90d729a5d8d816b9363d6
parentaeca8807dbce951beccbc3fb0e5a4ae5600e5e5f (diff)
Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array of search terms
-rw-r--r--actions/groupsearch.php2
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';