diff options
author | Robin Millette <millette@controlyourself.ca> | 2009-06-17 16:22:47 -0400 |
---|---|---|
committer | Robin Millette <millette@controlyourself.ca> | 2009-06-17 16:22:47 -0400 |
commit | fd6de17a4ace3eece968e2c7d319ee29340d2930 (patch) | |
tree | 8d576b6e093742c81914bf39a65d8a27a8254189 /actions/featured.php | |
parent | 1505e3a4c3dda7030bb92a2071ec58af2972bed7 (diff) | |
parent | 2fbd141361b6ddab0e036b52fc23f2bfcdfd0075 (diff) |
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
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(); } |