diff --git a/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs b/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs index 7b2294f6..c519f061 100644 --- a/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs +++ b/Site/Pages/v5/Ledgers/EndOfMonth.aspx.cs @@ -191,7 +191,7 @@ namespace Swarmops.Frontend.Pages.Ledgers string iconDisabledClass = string.Empty; string iconIsUploadClass = string.Empty; - if (item.DependsOn.Length > 0) + if (!string.IsNullOrEmpty(item.DependsOn)) { // add as disabled itemDisabledClass = " action-list-item-disabled";