Missed one of the if statements
This commit is contained in:
@@ -221,7 +221,7 @@ namespace umbraco.MacroEngines.Library
|
||||
public HtmlTagWrapper Wrap(string tag, object inner, object anonymousAttributes)
|
||||
{
|
||||
string innerText = null;
|
||||
if (inner.GetType() != typeof(DynamicNull) && inner != null)
|
||||
if (inner != null && inner.GetType() != typeof(DynamicNull))
|
||||
{
|
||||
innerText = string.Format("{0}", inner);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user