Skip to content

Commit

Permalink
incorrect syntax
Browse files Browse the repository at this point in the history
Made the mistake of falling back on PowerShell style IF syntax instead of C# IF syntax
  • Loading branch information
AdhocAdam committed Oct 30, 2020
1 parent 862b12b commit 8345964
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3602,7 +3602,7 @@ public override void AcceptChanges(WizardMode wizardMode)

//Get the Secure Reference's Management Pack's, Aliased Name, from the SCSM LFX unsealed mp for the Cireson Portal
ManagementPack cpSecRefMP = null;
if (this.RunAsAccountCiresonPortal)
if (this.RunAsAccountCiresonPortal != null)
{
cpSecRefMP = this.RunAsAccountCiresonPortal.GetManagementPack();
}
Expand Down Expand Up @@ -3688,7 +3688,7 @@ public override void AcceptChanges(WizardMode wizardMode)

//Get the Secure Reference's Management Pack's, Aliased Name, from the SCSM LFX unsealed mp for the Cireson Portal
ManagementPack cpSecRefMP = null;
if (this.RunAsAccountCiresonPortal)
if (this.RunAsAccountCiresonPortal != null)
{
cpSecRefMP = this.RunAsAccountCiresonPortal.GetManagementPack();
}
Expand Down

0 comments on commit 8345964

Please sign in to comment.