diff --git a/Site5/Pages/v5/Swarm/LocalOrganization.aspx.cs b/Site5/Pages/v5/Swarm/LocalOrganization.aspx.cs index 2d88de03..0707d9ec 100644 --- a/Site5/Pages/v5/Swarm/LocalOrganization.aspx.cs +++ b/Site5/Pages/v5/Swarm/LocalOrganization.aspx.cs @@ -37,8 +37,8 @@ namespace Swarmops.Frontend.Pages.v5.Swarm RegisterControl (IncludedControl.JsonParameters | IncludedControl.SwitchButton); Geography displayGeography = CurrentUser.Geography; - - if (CurrentAuthority.Position.Geography != CurrentUser.Geography) + + if (CurrentAuthority.Position != null && CurrentAuthority.Position.Geography != CurrentUser.Geography) { if (CurrentAuthority.Position.Geography == null) {