mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix get user role
This commit is contained in:
@@ -1364,6 +1364,9 @@ function um_fetch_user( $user_id ) {
|
||||
}
|
||||
|
||||
if( $data == 'role' ){
|
||||
if( is_array( $value ) ){
|
||||
$value = implode(",", $value );
|
||||
}
|
||||
return strtolower($value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user