diff --git a/ASSIGNMENT-01.ps1 b/ASSIGNMENT-01.ps1 index 7d19bbc..bc2ffd1 100644 --- a/ASSIGNMENT-01.ps1 +++ b/ASSIGNMENT-01.ps1 @@ -26,7 +26,7 @@ class LogEntry { [String]$Status, [switch]$Quiet ){ - if( $this.$Close ) { + if( $Close ) { $this.Active = $false } $this.Duration = [DateTime]::Now - $this.Timestamp