mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Fix mismatched roles
This commit is contained in:
@@ -1216,6 +1216,10 @@ function um_fetch_user( $user_id ) {
|
||||
$value = unserialize( $value );
|
||||
}
|
||||
|
||||
if( $data == 'role' ){
|
||||
return strtolower($value);
|
||||
}
|
||||
|
||||
return $value;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user