diff --git a/library/Icingadb/Widget/ItemList/StateListItem.php b/library/Icingadb/Widget/ItemList/StateListItem.php index a857a7ee1..161b40f75 100644 --- a/library/Icingadb/Widget/ItemList/StateListItem.php +++ b/library/Icingadb/Widget/ItemList/StateListItem.php @@ -99,6 +99,8 @@ protected function createTimestamp(): ?BaseHtmlElement } elseif ($this->state->last_state_change !== null && $this->state->last_state_change->getTimestamp() > 0) { return new TimeSince($this->state->last_state_change->getTimestamp()); } + + return null; } protected function assemble()