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 = '';