fix wrong type casting

This commit is contained in:
Christian Maile 2022-12-07 21:36:54 +01:00 committed by Thomas Gelf
parent 4c98df7909
commit 4619f8af9b

View File

@ -123,7 +123,7 @@ class DirectorJob extends DbObjectWithSettings implements ExportInterface, Insta
} }
return ( return (
strtotime((int) $this->get('ts_last_attempt')) + $this->get('run_interval') * 2 strtotime($this->get('ts_last_attempt')) + $this->get('run_interval') * 2
) < time(); ) < time();
} }