]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct arguments for ProfileList
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 17 Jun 2009 15:21:53 +0000 (08:21 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 17 Jun 2009 15:21:53 +0000 (08:21 -0700)
actions/featured.php
actions/peopletag.php

index 79eba2aa67b9985372a2e23a1e977306a62439ca..04365687d763c3e3b3dac39c60e5e3ff5266791f 100644 (file)
@@ -32,7 +32,7 @@ if (!defined('LACONICA')) {
     exit(1);
 }
 
-require_once(INSTALLDIR.'/lib/profilelist.php');
+require_once INSTALLDIR.'/lib/profilelist.php';
 require_once INSTALLDIR.'/lib/publicgroupnav.php';
 
 /**
@@ -107,7 +107,6 @@ class FeaturedAction extends Action
 
         $featured_nicks = common_config('nickname', 'featured');
 
-
         if (count($featured_nicks) > 0) {
 
             $quoted = array();
@@ -136,7 +135,7 @@ class FeaturedAction extends Action
             $cnt = $profile->find();
 
             if ($cnt > 0) {
-                $featured = new ProfileList($profile, null, $this);
+                $featured = new ProfileList($profile, $this);
                 $featured->show();
             }
 
index 5add75485808d08f704fa6dfa73faa34593605d6..dd3c1c0899a7befec824afeae83e4c8f19434633 100644 (file)
@@ -124,7 +124,7 @@ class PeopletagAction extends Action
 
         $profile->query(sprintf($qry, $this->tag, $lim));
 
-        $pl  = new ProfileList($profile, null, $this);
+        $pl  = new ProfileList($profile, $this);
         $cnt = $pl->show();
 
         $this->pagination($this->page > 1,