Skip to content

Commit 8326331

Browse files
committed
Update Invoke-CIPPStandardUserSubmissions.ps1
1 parent d0f585e commit 8326331

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($Settings.email))) {
96+
if (([string]::IsNullOrWhiteSpace($Email))) {
9797
$PolicyParams = @{
9898
EnableReportToMicrosoft = $true
9999
ReportJunkToCustomizedAddress = $false

0 commit comments

Comments
 (0)