mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
fix wrong type casting
This commit is contained in:
parent
4c98df7909
commit
4619f8af9b
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user