Fix notice. Props jeremyclarke. see #8764

git-svn-id: http://svn.automattic.com/wordpress/trunk@10324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-01-06 22:05:57 +00:00
parent cb38e921dc
commit 67bf900a02

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 ?>