From 2c8fe5a130fd78f8c4b780a18a633e5e45414a9a Mon Sep 17 00:00:00 2001 From: Shannon Date: Tue, 11 Mar 2014 14:35:49 +1100 Subject: [PATCH] fixes a few issues --- src/Umbraco.Web/PublishedCache/MemberPublishedContent.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web/PublishedCache/MemberPublishedContent.cs b/src/Umbraco.Web/PublishedCache/MemberPublishedContent.cs index 6de2d37812..deafcaab40 100644 --- a/src/Umbraco.Web/PublishedCache/MemberPublishedContent.cs +++ b/src/Umbraco.Web/PublishedCache/MemberPublishedContent.cs @@ -39,7 +39,7 @@ namespace Umbraco.Web.PublishedCache var val = _member.Properties.Any(x => x.Alias == propType.PropertyTypeAlias) == false ? string.Empty : _member.Properties[propType.PropertyTypeAlias].Value; - _properties.Add(new RawValueProperty(propType, val)); + _properties.Add(new RawValueProperty(propType, val ?? string.Empty)); } } @@ -56,7 +56,7 @@ namespace Umbraco.Web.PublishedCache { get { return _membershipUser.PasswordQuestion; } } - public string Comment + public string Comments { get { return _membershipUser.Comment; } }