Permalink
Browse files

Removed fallback to detail collection when resolving item[name]

  • Loading branch information...
1 parent a6c8397 commit 5af6d026778538eb151311227dbae809e9ce8e53 @libardo libardo committed Sep 2, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/Framework/N2/ContentItem.cs
@@ -420,8 +420,7 @@ public virtual IList<Security.AuthorizedRole> AuthorizedRoles
case "ZoneName": return ZoneName;
default:
return Utility.Evaluate(this, detailName)
- ?? GetDetail(detailName)
- ?? GetDetailCollection(detailName, false);
+ ?? GetDetail(detailName);
}
}
set

0 comments on commit 5af6d02

Please sign in to comment.