From be54aa3e6de1c516ac6e4262d6c13973aa07aa16 Mon Sep 17 00:00:00 2001 From: TheGracens <81437419+TheGracens@users.noreply.github.com> Date: Mon, 10 May 2021 10:26:49 +0200 Subject: [PATCH] Additional Fix - escaped chars for graph legends (#12846) fix for Toner graph --- includes/html/graphs/device/toner.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/html/graphs/device/toner.inc.php b/includes/html/graphs/device/toner.inc.php index 14d5b3d9c5..a2408668ad 100644 --- a/includes/html/graphs/device/toner.inc.php +++ b/includes/html/graphs/device/toner.inc.php @@ -54,7 +54,7 @@ foreach (dbFetchRows('SELECT * FROM printer_supplies where device_id = ?', [$dev $rrd_options .= " LINE2:toner$id#" . $colour['left'] . ":'" . $descr . "'"; $rrd_options .= " GPRINT:toner$id:LAST:'%5.0lf%%'"; $rrd_options .= " GPRINT:toner$id:MIN:'%5.0lf%%'"; - $rrd_options .= " GPRINT:toner$id:MAX:%5.0lf%%\l"; + $rrd_options .= " GPRINT:toner$id:MAX:%5.0lf%%\\\\l"; $iter++; }//end foreach