From e3a9b56423380e750985e971ab9b7127a6e6cf18 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 30 Jun 2022 08:39:44 +0200 Subject: [PATCH] eventgrid: Avoid passing null to string type functions --- .../monitoring/application/views/scripts/list/eventgrid.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/application/views/scripts/list/eventgrid.phtml b/modules/monitoring/application/views/scripts/list/eventgrid.phtml index aafa9b6b1..8809c533e 100644 --- a/modules/monitoring/application/views/scripts/list/eventgrid.phtml +++ b/modules/monitoring/application/views/scripts/list/eventgrid.phtml @@ -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')),