From 44c955cccc3acaa05004d2f8bff90de8a7d2dcf4 Mon Sep 17 00:00:00 2001 From: Warren Buckley Date: Fri, 19 Mar 2021 11:52:38 +0000 Subject: [PATCH] Rename variable to groupId as opposed to tabId as this is what it actually is --- .../Persistence/Factories/PropertyGroupFactory.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Core/Persistence/Factories/PropertyGroupFactory.cs b/src/Umbraco.Core/Persistence/Factories/PropertyGroupFactory.cs index f139619302..58107ade5c 100644 --- a/src/Umbraco.Core/Persistence/Factories/PropertyGroupFactory.cs +++ b/src/Umbraco.Core/Persistence/Factories/PropertyGroupFactory.cs @@ -117,7 +117,7 @@ namespace Umbraco.Core.Persistence.Factories return dto; } - internal static PropertyTypeDto BuildPropertyTypeDto(int tabId, PropertyType propertyType, int contentTypeId) + internal static PropertyTypeDto BuildPropertyTypeDto(int groupId, PropertyType propertyType, int contentTypeId) { var propertyTypeDto = new PropertyTypeDto { @@ -136,9 +136,9 @@ namespace Umbraco.Core.Persistence.Factories LabelOnTop = propertyType.LabelOnTop }; - if (tabId != default) + if (groupId != default) { - propertyTypeDto.PropertyTypeGroupId = tabId; + propertyTypeDto.PropertyTypeGroupId = groupId; } else {