From b0600ade04f54d4dcc7f21225d6764395f8f3376 Mon Sep 17 00:00:00 2001 From: Carsten Date: Wed, 10 Aug 2022 08:13:28 +0200 Subject: [PATCH] Fix PHP8.1 depracted warnings --- library/Grafana/Helpers/Timeranges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Grafana/Helpers/Timeranges.php b/library/Grafana/Helpers/Timeranges.php index 94a392f..51a1516 100644 --- a/library/Grafana/Helpers/Timeranges.php +++ b/library/Grafana/Helpers/Timeranges.php @@ -92,7 +92,7 @@ protected function isValidTimeStamp($timestamp) private function buildTimerangeMenu($timerange = "", $timerangeto = "") { $clockIcon = $this->view->qlink('', 'dashboard/new-dashlet', - ['url' => 'grafana/dashboard?' . http_build_query($this->urlparams, null, '&', PHP_QUERY_RFC3986)], + ['url' => 'grafana/dashboard?' . http_build_query($this->urlparams, '', '&', PHP_QUERY_RFC3986)], ['icon' => 'clock', 'title' => 'Add graph to dashboard']); $menu = '';