Fix community role editing

This commit is contained in:
champsupertramp
2016-02-24 15:49:18 +08:00
parent a3b0159c4a
commit 50f0003689
+1 -1
View File
@@ -57,7 +57,7 @@ class UM_User {
function community_role_edit( $user ) {
global $ultimatemember;
if ( current_user_can( 'edit_users' ) && current_user_can( 'edit_user', $user->ID ) ) {
$user = get_userdata( $user->ID );
um_fetch_user( $user->ID );
?>
<table class="form-table">
<tbody>