|
@@ -290,6 +290,9 @@ class Access implements UserInterface
|
|
|
|
|
|
|
|
public function setHistorical(array $historical): self
|
|
public function setHistorical(array $historical): self
|
|
|
{
|
|
{
|
|
|
|
|
+ if(!$historical['past'] && !$historical['present'] && !$historical['future'])
|
|
|
|
|
+ $historical['present'] = true;
|
|
|
|
|
+
|
|
|
$this->setting['historical'] = $historical;
|
|
$this->setting['historical'] = $historical;
|
|
|
return $this;
|
|
return $this;
|
|
|
}
|
|
}
|