Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jformacek committed Apr 21, 2021
1 parent a81bd4a commit 5e72884
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion S.DS.P.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
# ReleaseNotes = ''

# Prerelease string of this module
Prerelease = 'beta3'
Prerelease = 'beta4'

# Flag to indicate whether the module requires explicit user acceptance for install/update/save
RequireLicenseAcceptance = $false
Expand Down
4 changes: 2 additions & 2 deletions S.DS.P.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ More about System.DirectoryServices.Protocols: http://msdn.microsoft.com/en-us/l

if($null -ne $transform -and $null -ne $transform.OnSave) {
#transform defined -> transform to form accepted by directory
$attrVal = ,(& $transform.OnSave -Values $Object.($prop.Name))
$attrVal = @(& $transform.OnSave -Values $Object.($prop.Name))
}
else {
#no transform defined - take value as-is
Expand Down Expand Up @@ -1035,7 +1035,7 @@ More about System.DirectoryServices.Protocols: http://msdn.microsoft.com/en-us/l

if($null -ne $transform -and $null -ne $transform.OnSave) {
#transform defined -> transform to form accepted by directory
$attrVal = ,(& $transform.OnSave -Values $Object.($prop.Name))
$attrVal = @(& $transform.OnSave -Values $Object.($prop.Name))
}
else {
#no transform defined - take value as-is
Expand Down

0 comments on commit 5e72884

Please sign in to comment.