Skip to content

Commit 92af318

Browse files
committed
Update Set-CIPPStandardsCompareField.ps1
1 parent dc7545c commit 92af318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Set-CIPPStandardsCompareField.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function Set-CIPPStandardsCompareField {
77
$Table = Get-CippTable -tablename 'CippStandardsReports'
88
$TenantName = Get-Tenants | Where-Object -Property defaultDomainName -EQ $Tenant
99
#if the fieldname does not contain standards. prepend it.
10-
$FieldName = $FieldName.replace('.', '_')
10+
$FieldName = $FieldName -replace '\.', '_'
1111
if ($FieldValue -is [System.Boolean]) {
1212
$fieldValue = [bool]$FieldValue
1313
} elseif ($FieldValue -is [string]) {

0 commit comments

Comments
 (0)