fixes another short/int parse

This commit is contained in:
Shannon
2014-07-16 13:43:08 +10:00
parent 1a1aba92ef
commit fdf1218a9e

View File

@@ -28,7 +28,7 @@ namespace Umbraco.Core.Persistence.Factories
ComputerName = entity.ComputerName
};
if (entity.HasIdentity)
dto.Id = short.Parse(entity.Id.ToString(CultureInfo.InvariantCulture));
dto.Id = int.Parse(entity.Id.ToString(CultureInfo.InvariantCulture));
return dto;
}