Fixed tryParse

This commit is contained in:
Bjarke Berg
2021-09-15 13:40:08 +02:00
parent f68717c1c8
commit 39faf63f9c
45 changed files with 474 additions and 444 deletions

View File

@@ -579,7 +579,7 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
string filter = "",
Guid? dataTypeKey = null)
{
if (int.TryParse(id, out var intId))
if (int.TryParse(id, NumberStyles.Integer, CultureInfo.InvariantCulture, out var intId))
{
return GetPagedChildren(intId, type, pageNumber, pageSize, orderBy, orderDirection, filter);
}