#18791: Fixing custom placement

Work Item: 18791
This commit is contained in:
Sebastien Ros 2012-07-09 10:27:51 -07:00
parent cc55aa83fe
commit cc5477eee2

View File

@ -44,7 +44,7 @@ namespace Orchard.ContentTypes.Services {
}
descriptor.Placement = ctx => {
if(ctx.DisplayType != null) {
if(ctx.DisplayType == null) {
foreach(var customPlacement in customPlacements) {
var type = customPlacement.ContentType;