Super user is not a Zero
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Umbraco.Web.Trees
|
||||
long totalUsers;
|
||||
nodes.AddRange(
|
||||
Services.UserService.GetAll(0, int.MaxValue, out totalUsers)
|
||||
.Where(x => x.Id > 0 && x.IsApproved)
|
||||
.Where(x => x.Id != Constants.Security.SuperId && x.IsApproved)
|
||||
.Select(x => CreateTreeNode(x.Id.ToString(),
|
||||
id,
|
||||
queryStrings,
|
||||
|
||||
Reference in New Issue
Block a user