Fix usage of "Id" instead of "Name"

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-11-21 14:32:33 -08:00
parent 1f6d1fb5e7
commit b32711f352

View File

@@ -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();
}