mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Groups are case insensitive.
This commit is contained in:
@@ -76,7 +76,10 @@ namespace Orchard.ContentManagement.Drivers {
|
||||
return editor;
|
||||
}
|
||||
|
||||
if ((editor.GetGroup() ?? string.Empty) != (context.GroupId ?? string.Empty)) {
|
||||
var editorGroup = editor.GetGroup() ?? "";
|
||||
var contextGroup = context.GroupId ?? "";
|
||||
|
||||
if (!String.Equals(editorGroup, contextGroup, StringComparison.OrdinalIgnoreCase)) {
|
||||
return editor;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user