diff --git a/Site/Automation/Json-BudgetsTree.aspx.cs b/Site/Automation/Json-BudgetsTree.aspx.cs index ee2f95cb..1f4838cb 100644 --- a/Site/Automation/Json-BudgetsTree.aspx.cs +++ b/Site/Automation/Json-BudgetsTree.aspx.cs @@ -35,7 +35,7 @@ namespace Swarmops.Frontend.Automation // Is this stuff in cache already? - string cacheKey = "ExpensableBudgets-Json-" + accountType + + string cacheKey = "Budgets-Json-" + accountType + // use the sanitized input to prevent cache overload CurrentOrganization.Identity.ToString ((CultureInfo.InvariantCulture)); diff --git a/Site/Automation/Json-FinancialAccountsTree.aspx.cs b/Site/Automation/Json-FinancialAccountsTree.aspx.cs index 3a9bc89a..93ba0d23 100644 --- a/Site/Automation/Json-FinancialAccountsTree.aspx.cs +++ b/Site/Automation/Json-FinancialAccountsTree.aspx.cs @@ -106,7 +106,7 @@ namespace Swarmops.Frontend.Automation return string.Empty; } - if (this._hashedAccounts[rootNodeId].Count == 1) + if (this._hashedAccounts[rootNodeId].Count < 1) { // No children diff --git a/Site/Site.csproj b/Site/Site.csproj index ecfca736..a6bad5dc 100644 --- a/Site/Site.csproj +++ b/Site/Site.csproj @@ -110,13 +110,6 @@ AjaxToggleSlider.ascx - - FileUploader.ascx - ASPXCodeBehind - - - FileUploader.ascx - ImpersonationWarningBox.ascx ASPXCodeBehind @@ -690,7 +683,6 @@ -