forked from GNUsocial/gnu-social
correct arguments for ProfileList
This commit is contained in:
parent
8384e7c7f6
commit
2fbd141361
@ -32,7 +32,7 @@ if (!defined('LACONICA')) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once(INSTALLDIR.'/lib/profilelist.php');
|
require_once INSTALLDIR.'/lib/profilelist.php';
|
||||||
require_once INSTALLDIR.'/lib/publicgroupnav.php';
|
require_once INSTALLDIR.'/lib/publicgroupnav.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -107,7 +107,6 @@ class FeaturedAction extends Action
|
|||||||
|
|
||||||
$featured_nicks = common_config('nickname', 'featured');
|
$featured_nicks = common_config('nickname', 'featured');
|
||||||
|
|
||||||
|
|
||||||
if (count($featured_nicks) > 0) {
|
if (count($featured_nicks) > 0) {
|
||||||
|
|
||||||
$quoted = array();
|
$quoted = array();
|
||||||
@ -136,7 +135,7 @@ class FeaturedAction extends Action
|
|||||||
$cnt = $profile->find();
|
$cnt = $profile->find();
|
||||||
|
|
||||||
if ($cnt > 0) {
|
if ($cnt > 0) {
|
||||||
$featured = new ProfileList($profile, null, $this);
|
$featured = new ProfileList($profile, $this);
|
||||||
$featured->show();
|
$featured->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ class PeopletagAction extends Action
|
|||||||
|
|
||||||
$profile->query(sprintf($qry, $this->tag, $lim));
|
$profile->query(sprintf($qry, $this->tag, $lim));
|
||||||
|
|
||||||
$pl = new ProfileList($profile, null, $this);
|
$pl = new ProfileList($profile, $this);
|
||||||
$cnt = $pl->show();
|
$cnt = $pl->show();
|
||||||
|
|
||||||
$this->pagination($this->page > 1,
|
$this->pagination($this->page > 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user