]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array...
authorJeffery To <jeffery.to@gmail.com>
Wed, 7 Oct 2009 08:18:05 +0000 (16:18 +0800)
committerJeffery To <jeffery.to@gmail.com>
Wed, 7 Oct 2009 08:18:05 +0000 (16:18 +0800)
actions/groupsearch.php

index be15efc47cea5c0be163b3095db9264b53328840..517f127895ca49f6a25c97f8f87e6d7e70ef115c 100644 (file)
@@ -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';