Skip to content

Commit

Permalink
Fix PHP8.1 depracted warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikesch-mp committed Aug 10, 2022
1 parent ed24ffe commit b0600ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Grafana/Helpers/Timeranges.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '<table class="grafana-table"><tr>';
Expand Down

0 comments on commit b0600ad

Please sign in to comment.