Fix notice. Props jeremyclarke. see #8764

git-svn-id: https://develop.svn.wordpress.org/trunk@10324 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-01-06 22:05:57 +00:00
parent 346ad48bb8
commit 5abca0328d
1 changed files with 3 additions and 4 deletions

View File

@ -257,11 +257,10 @@ wp_dropdown_roles($user_role);
// print the 'no role' option. Make it selected if the user has no role yet.
if ( $user_role )
$role_list .= '<option value="">' . __('&mdash; No role for this blog &mdash;') . '</option>';
echo '<option value="">' . __('&mdash; No role for this blog &mdash;') . '</option>';
else
$role_list .= '<option value="" selected="selected">' . __('&mdash; No role for this blog &mdash;') . '</option>';
echo $role_list;?>
echo '<option value="" selected="selected">' . __('&mdash; No role for this blog &mdash;') . '</option>';
?>
</select></td></tr>
<?php endif; //!$is_profile_page ?>