eventgrid: Avoid passing null to string type functions

This commit is contained in:
Johannes Meyer 2022-06-30 08:39:44 +02:00
parent 95ea071a89
commit e3a9b56423
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ foreach ($summary as $entry) {
$caption = sprintf(
$settings[$column]['tooltip'],
$value,
$this->formatDate(strtotime($day))
$this->formatDate(strtotime($day ?? ''))
);
$linkFilter = Filter::matchAll(
Filter::expression('timestamp', '<', strtotime($day . ' 23:59:59')),