mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 13:43:38 +09:00
Fix profile permalink
This commit is contained in:
+1
-1
@@ -895,7 +895,7 @@ class UM_User {
|
||||
}
|
||||
|
||||
$ids = get_users(array( 'fields' => 'ID', 'meta_key' => 'full_name','meta_value' => $value ,'meta_compare' => '=') );
|
||||
if ( isset( $ids[0] ) )
|
||||
if ( isset( $ids[0] ) && ! empty( $ids[0] ) )
|
||||
return $ids[0];
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user