diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-06-17 21:40:52 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-06-17 21:40:52 +0000 |
commit | 164588ef0fd2c9c9f1858f1d21d6758356ce7885 (patch) | |
tree | 2e5d5c9cc8adf07a1d610728dbfa201756884640 /actions/featured.php | |
parent | af4b18b1e2ef8aded26fc4788c571012da04d1cf (diff) | |
parent | cd1361fe960eb3afbbdb34b14061b8475dea60c8 (diff) |
Merge branch '0.8.x' into userdesign
Diffstat (limited to 'actions/featured.php')
-rw-r--r-- | actions/featured.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actions/featured.php b/actions/featured.php index 79eba2aa6..04365687d 100644 --- a/actions/featured.php +++ b/actions/featured.php @@ -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(); } |