Skip to content

Commit

Permalink
fix quote marks (#5712)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmacan committed Apr 4, 2024
1 parent 9963390 commit 94c5505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rrd.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 94c5505

Please sign in to comment.