Fix: Log entries appear multiple times
$Close parameter evaluation had a typo, $this removed
This commit is contained in:
parent
c37fbb522e
commit
0d4a19addd
|
@ -26,7 +26,7 @@ class LogEntry {
|
||||||
[String]$Status,
|
[String]$Status,
|
||||||
[switch]$Quiet
|
[switch]$Quiet
|
||||||
){
|
){
|
||||||
if( $this.$Close ) {
|
if( $Close ) {
|
||||||
$this.Active = $false
|
$this.Active = $false
|
||||||
}
|
}
|
||||||
$this.Duration = [DateTime]::Now - $this.Timestamp
|
$this.Duration = [DateTime]::Now - $this.Timestamp
|
||||||
|
|
Loading…
Reference in New Issue