Skip to content

Commit c7d72e0

Browse files
authored
Merge pull request #276 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 6f66468 + 8326331 commit c7d72e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Standards/Invoke-CIPPStandardUserSubmissions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function Invoke-CIPPStandardUserSubmissions {
9393
Write-LogMessage -API 'Standards' -tenant $Tenant -message 'User Submission policy is already configured' -sev Info
9494
} else {
9595
if ($state -eq 'enable') {
96-
if (([string]::IsNullOrWhiteSpace())) {
96+
if (([string]::IsNullOrWhiteSpace($Email))) {
9797
$PolicyParams = @{
9898
EnableReportToMicrosoft = $true
9999
ReportJunkToCustomizedAddress = $false

0 commit comments

Comments
 (0)