From 94c5505ec269b7bf72811dc35af6ece8b60054ed Mon Sep 17 00:00:00 2001 From: Petr Macek Date: Thu, 4 Apr 2024 22:29:21 +0200 Subject: [PATCH] fix quote marks (#5712) --- lib/rrd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rrd.php b/lib/rrd.php index 239a5eeb28..51d54ffbd0 100644 --- a/lib/rrd.php +++ b/lib/rrd.php @@ -4290,7 +4290,7 @@ function gradient($vname = false, $start_color = '#0000a0', $end_color = '#f0f0f $b = round($b1 + $diff_b * $factor); if ($i == $steps && $label != false && strlen($label) > 2) { - $spline .= sprintf('AREA:%s%d#%02X%02X%02X%s:"%s" ' . RRD_NL, $spline_vname, $i, $r, $g, $b, $alpha, $label); + $spline .= sprintf('AREA:%s%d#%02X%02X%02X%s:%s ' . RRD_NL, $spline_vname, $i, $r, $g, $b, $alpha, $label); } else { $spline .= sprintf('AREA:%s%d#%02X%02X%02X%s ' . RRD_NL, $spline_vname, $i, $r, $g, $b, $alpha); }