From: Jeffery To Date: Wed, 7 Oct 2009 08:18:05 +0000 (+0800) Subject: Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=87f5c53dd0ff03600275077e7185291b62358ef2;p=quix0rs-gnu-social.git Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array of search terms --- diff --git a/actions/groupsearch.php b/actions/groupsearch.php index be15efc47c..517f127895 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';