fixes null check on tag extractor

This commit is contained in:
Shannon
2014-07-07 16:21:53 +10:00
parent 3aff474648
commit bcae3afa45

View File

@@ -15,6 +15,7 @@ namespace Umbraco.Core.Services
{
public static SupportTagsAttribute GetAttribute(PropertyEditor propEd)
{
if (propEd == null) return null;
var tagSupport = propEd.GetType().GetCustomAttribute<SupportTagsAttribute>(false);
return tagSupport;
}