Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
#39
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Apr 6, 2020
1 parent 7b84a6f commit 5ef9c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Public/Other/Get-WordCustomProperty.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[Xceed.Document.NET.Container]$WordDocument,
[string] $Name
)
if ($Property -eq $null) {
if ($null -eq $Property) {
$Data = $WordDocument.CustomProperties.Values
} else {
$Data = $WordDocument.CustomProperties.$Name.Value
Expand Down

0 comments on commit 5ef9c64

Please sign in to comment.