Merge with 4.11.9
This commit is contained in:
@@ -114,7 +114,7 @@ namespace Umbraco.Web.Mvc
|
||||
else
|
||||
{
|
||||
//exit the loop
|
||||
currentRouteData = null;
|
||||
currentContext = null;
|
||||
}
|
||||
}
|
||||
return new Attempt<RouteDefinition>(
|
||||
|
||||
@@ -83,8 +83,8 @@ namespace umbraco.cms.businesslogic.workflow
|
||||
{
|
||||
// check if something was changed and display the changes otherwise display the fields
|
||||
Property oldProperty = oldDoc.getProperty(p.PropertyType.Alias);
|
||||
string oldText = oldProperty.Value.ToString();
|
||||
string newText = p.Value.ToString();
|
||||
string oldText = oldProperty.Value != null ? oldProperty.Value.ToString() : "";
|
||||
string newText = p.Value != null ? p.Value.ToString() : "";
|
||||
|
||||
// replace html with char equivalent
|
||||
ReplaceHTMLSymbols(ref oldText);
|
||||
@@ -123,7 +123,7 @@ namespace umbraco.cms.businesslogic.workflow
|
||||
summary.Append("<tr>");
|
||||
summary.Append("<th style='text-align: left; vertical-align: top; width: 25%;'>" +
|
||||
p.PropertyType.Name + "</th>");
|
||||
summary.Append("<td style='text-align: left; vertical-align: top;'>" + p.Value.ToString() + "</td>");
|
||||
summary.Append("<td style='text-align: left; vertical-align: top;'>" + newText + "</td>");
|
||||
summary.Append("</tr>");
|
||||
}
|
||||
summary.Append(
|
||||
|
||||
Reference in New Issue
Block a user