Fix var typo

git-svn-id: https://develop.svn.wordpress.org/trunk@6888 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-02-17 22:06:26 +00:00
parent aec5b2b595
commit 1ed309a3b2
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ unset($role_links);
<?php <?php
foreach ( $wp_user_search->get_results() as $userid ) { foreach ( $wp_user_search->get_results() as $userid ) {
$user_object = new WP_User($userid); $user_object = new WP_User($userid);
$roles = $user->roles; $roles = $user_object->roles;
$role = array_shift($roles); $role = array_shift($roles);
$style = ''; $style = '';