Skip to content

Commit

Permalink
Merge pull request #5242 from WavingReader/Dev
Browse files Browse the repository at this point in the history
TeamsComplianceRecordingPolicy: ComplianceRecordingApplications converts $null to empty array
  • Loading branch information
NikCharlebois authored Oct 31, 2024
2 parents 910516f + 2a1143a commit 6f29b96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ function Get-TargetResource
return $nullResult
}

$ComplexComplianceRecordingApplications = @()
if ($instance.ComplianceRecordingApplications.Count -gt 0)
{
$ComplexComplianceRecordingApplications = @()
foreach ($CurrentComplianceRecordingApplications in $instance.ComplianceRecordingApplications)
{
$MyComplianceRecordingApplications = @{}
Expand Down

0 comments on commit 6f29b96

Please sign in to comment.