$cats[$content['id']] = $content['cat'];
} // END - while
- // Now we have all categories loaded, count members
+ // Now all categories have been loaded, count members
foreach ($cats as $id => $dummy) {
- // We only need id and nothing more to count...
- // @TODO This does not exclude testers
+ // Only the id needs to be counted
+ // @TODO This doesn't exclude tester accounts
$cat_cnt[$id] = countSumTotalData(bigintval($id), 'user_cats', 'id', 'cat_id', TRUE);
} // END - foreach