This commit is contained in:
Stephan
2018-03-07 09:34:23 +01:00
parent 2a3f284554
commit e2ea849211
2 changed files with 7 additions and 5 deletions

View File

@@ -38,10 +38,6 @@ namespace Umbraco.Core.Models.Entities
set
{
SetPropertyValueAndDetectChanges(value, ref _id, Ps.Value.IdSelector);
// fixme - this is a problem w/ user 'admin' having ID 'zero'
// in v7 _hasIdentity becomes true soon as an ID is set, which is... weird
// we should NOT have 'admin' have ID 'zero'
_hasIdentity = value != 0;
}
}