diff --git a/src/Views.php b/src/Views.php index 2709a137..22799802 100644 --- a/src/Views.php +++ b/src/Views.php @@ -372,7 +372,7 @@ protected function shouldRecord(): bool return false; } - if ($this->sessionDelay && $this->viewSessionHistory->push($this->viewable, $this->sessionDelay)) { + if (!is_null($this->sessionDelay) && !$this->viewSessionHistory->push($this->viewable, $this->sessionDelay)) { return false; }