diff --git a/html/includes/graphs/generic_duplex.inc.php b/html/includes/graphs/generic_duplex.inc.php index bddfd09b0f..e062d75255 100644 --- a/html/includes/graphs/generic_duplex.inc.php +++ b/html/includes/graphs/generic_duplex.inc.php @@ -93,7 +93,7 @@ if ($percentile) { $rrd_options .= ' GPRINT:percentile_in:%6.2lf%s'; } -$rrd_options .= " COMMENT:'\\n'"; +$rrd_options .= " COMMENT:\\n"; $rrd_options .= ' AREA:dout#'.$colour_area_out.':'; $rrd_options .= ' LINE1.25:dout#'.$colour_line_out.":'".$out_text."'"; $rrd_options .= ' GPRINT:out:LAST:%6.2lf%s'; @@ -104,7 +104,7 @@ if ($percentile) { $rrd_options .= ' GPRINT:percentile_out:%6.2lf%s'; } -$rrd_options .= " COMMENT:\\\\n"; +$rrd_options .= " COMMENT:\\n"; if ($print_total) { $rrd_options .= " GPRINT:tot:'Total %6.2lf%s'"; diff --git a/html/includes/graphs/generic_simplex.inc.php b/html/includes/graphs/generic_simplex.inc.php index 186cc80a06..7e2604d3f1 100644 --- a/html/includes/graphs/generic_simplex.inc.php +++ b/html/includes/graphs/generic_simplex.inc.php @@ -100,7 +100,7 @@ else { } $rrd_options .= "\\\\n"; - $rrd_options .= " COMMENT:\\\\n"; + $rrd_options .= " COMMENT:\\n"; if ($print_total) { $rrd_options .= ' GPRINT:'.$ds.'_tot:Total\ %6.2lf%s\)\\\\l';