U4-6825 Can't blank out values using the built-in EditProfile snippet
#U4-6825 Fixed
This commit is contained in:
@@ -105,9 +105,7 @@ namespace Umbraco.Web.Security
|
||||
.Where(p => member.ContentType.PropertyTypeExists(p.Alias))
|
||||
.Where(property => member.Properties.Contains(property.Alias))
|
||||
//needs to be editable
|
||||
.Where(p => member.ContentType.MemberCanEditProperty(p.Alias))
|
||||
//needs to have a value
|
||||
.Where(p => p.Value != null))
|
||||
.Where(p => member.ContentType.MemberCanEditProperty(p.Alias)))
|
||||
{
|
||||
member.Properties[property.Alias].Value = property.Value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user