diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/Provisioning/ImportController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/Provisioning/ImportController.cs index 7ca6f938..fef786d4 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/Provisioning/ImportController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/Provisioning/ImportController.cs @@ -136,7 +136,7 @@ namespace WebsitePanel.EnterpriseServer catch { /* do nothing */ } } else - return GetImportableCustomerItems(packageId, itemTypeId); + return GetImportableCustomItems(packageId, itemTypeId); return items; } @@ -278,7 +278,7 @@ namespace WebsitePanel.EnterpriseServer return 0; } - private static List GetImportableCustomerItems(int packageId, int itemTypeId) + private static List GetImportableCustomItems(int packageId, int itemTypeId) { List items = new List(); diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config index 27a5f82b..6c7d9d64 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config @@ -9,7 +9,7 @@ --> - + @@ -17,7 +17,7 @@ --> - + diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SpaceImportResources.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SpaceImportResources.ascx.cs index 5e2c5b07..a6f55326 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SpaceImportResources.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SpaceImportResources.ascx.cs @@ -139,7 +139,7 @@ namespace WebsitePanel.Portal TreeNode userNode = null; foreach (TreeNode n in headerNode.ChildNodes) { - if (n.Value == "+" + itemTypeId.ToString() + "|" + objectData[1]) ; + if (n.Value == "+" + itemTypeId.ToString() + "|" + objectData[1]) { userNode = n; break; @@ -160,9 +160,9 @@ namespace WebsitePanel.Portal siteNode.Value = "+" + itemTypeId.ToString() + "|" + item; siteNode.ShowCheckBox = true; userNode.ChildNodes.Add(siteNode); - - headerNode.Expand(); } + + headerNode.Expand(); break; }