We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbb646d commit 4c39f6bCopy full SHA for 4c39f6b
Modules/CIPPCore/Public/Set-CIPPStandardsCompareField.ps1
@@ -7,7 +7,7 @@ function Set-CIPPStandardsCompareField {
7
$Table = Get-CippTable -tablename 'CippStandardsReports'
8
$TenantName = Get-Tenants | Where-Object -Property defaultDomainName -EQ $Tenant
9
#if the fieldname does not contain standards. prepend it.
10
- $FieldName = $FieldName.replace('standards.', 'standards_')
+ $FieldName = $FieldName.replace('.', '_')
11
if ($FieldValue -is [System.Boolean]) {
12
$fieldValue = [bool]$FieldValue
13
} elseif ($FieldValue -is [string]) {
0 commit comments