while ($user->fetch()) {
$profile_ids[] = $user->id;
- common_debug("id = $user->id");
}
$profile = new Profile;
$cnt = $profile->find();
- common_debug("count = $cnt");
-
if ($cnt > 0) {
$featured = new ProfileList($profile);
$featured->show_list();