Work items: 29918

This commit is contained in:
hartvig
2011-02-22 12:00:15 -01:00
parent b2db75bcb2
commit 5ca12fb99f

View File

@@ -1236,7 +1236,7 @@ namespace umbraco
MacroPropertyModel propModel = model.Properties.Find(m => m.Key == propertyAlias.ToLower());
// zb-00037 #29875 : values have already been parsed + no need to parse ""
object propValue = prop != null ? propModel.Value : "";
object propValue = propModel != null && prop != null ? propModel.Value : null;
if (propValue == null)
continue;