Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
This commit is contained in:
@@ -142,9 +142,14 @@ namespace umbraco.cms.businesslogic.member
|
||||
}
|
||||
}
|
||||
|
||||
return ApplicationContext.Current.Services.MemberService.GetAllMembers(ids.ToArray())
|
||||
.Select(x => new Member(x))
|
||||
.ToArray();
|
||||
if (ids.Any())
|
||||
{
|
||||
return ApplicationContext.Current.Services.MemberService.GetAllMembers(ids.ToArray())
|
||||
.Select(x => new Member(x))
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
return new Member[] { };
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user