mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fix usage of "Id" instead of "Name"
--HG-- branch : dev
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Orchard.Environment.Extensions {
|
||||
|
||||
public IEnumerable<Feature> LoadFeatures(IEnumerable<FeatureDescriptor> featureDescriptors) {
|
||||
return featureDescriptors
|
||||
.Select(descriptor => _cacheManager.Get(descriptor.Name, ctx => LoadFeature(descriptor)))
|
||||
.Select(descriptor => _cacheManager.Get(descriptor.Id, ctx => LoadFeature(descriptor)))
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user