WI# 30472 Placed check on hashtable add to check item has not already been added.
This commit is contained in:
@@ -136,7 +136,10 @@ namespace umbraco.controls
|
||||
if (property != null && tabPage != null)
|
||||
{
|
||||
addControlNew(property, tabPage, tab.Caption);
|
||||
inTab.Add(propertyType.Id.ToString(), true);
|
||||
|
||||
// adding this check, as we occasionally get an already in dictionary error, though not sure why
|
||||
if (!inTab.ContainsKey(propertyType.Id.ToString()))
|
||||
inTab.Add(propertyType.Id.ToString(), true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user