Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mstdokumaci committed May 18, 2012
1 parent b11d50d commit 95b2515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/social/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
echo '<h1>Top 10 Users with Most Posts</h1>' . "\n";
echo '<ul>' . "\n";
foreach ($adb->id_list('user', false, 'post DESC', 10) as $id) {
$user=$adb->load($id);
$user=$adb->load('user', $id);
echo '<li>' . $user['name'] . '(' . count($user['post']) . ')</li>' . "\n";
}
echo '</ul>\' . "\n';

0 comments on commit 95b2515

Please sign in to comment.