File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Modules/CIPPCore/Public/Standards Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ function Invoke-CIPPStandardSafeAttachmentPolicy {
64
64
65
65
$StateIsCorrect = ($CurrentState.Name -eq $PolicyName ) -and
66
66
($CurrentState.Enable -eq $true ) -and
67
- ($CurrentState.Action -eq $Settings.Action ) -and
67
+ ($CurrentState.Action -eq $Settings.SafeAttachmentAction ) -and
68
68
($CurrentState.QuarantineTag -eq $Settings.QuarantineTag ) -and
69
69
($CurrentState.Redirect -eq $Settings.Redirect ) -and
70
70
(($null -eq $Settings.RedirectAddress ) -or ($CurrentState.RedirectAddress -eq $Settings.RedirectAddress ))
@@ -87,7 +87,7 @@ function Invoke-CIPPStandardSafeAttachmentPolicy {
87
87
} else {
88
88
$cmdparams = @ {
89
89
Enable = $true
90
- Action = $Settings.Action
90
+ Action = $Settings.SafeAttachmentAction
91
91
QuarantineTag = $Settings.QuarantineTag
92
92
Redirect = $Settings.Redirect
93
93
RedirectAddress = $Settings.RedirectAddress
You can’t perform that action at this time.
0 commit comments