From 0b7a73fe08a29b5981978ee3cbb646492cc36caa Mon Sep 17 00:00:00 2001 From: Larry Adams Date: Thu, 17 Mar 2005 03:13:58 +0000 Subject: [PATCH] small rrdtool 1.2 update git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2659 860744bd-22fc-0310-8c96-e9fe5004b5ca --- lib/rrd.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rrd.php b/lib/rrd.php index 367db7c899..a7bf179e10 100644 --- a/lib/rrd.php +++ b/lib/rrd.php @@ -664,9 +664,9 @@ function rrdtool_function_graph($local_graph_id, $rra_id, $graph_data_array, $rr /* display the timespan for zoomed graphs */ if ((isset($graph_data_array["graph_start"])) && (isset($graph_data_array["graph_end"]))) { if (($graph_data_array["graph_start"] < 0) && ($graph_data_array["graph_end"] < 0)) { - $graph_legend .= "COMMENT:\"From " . date($graph_date, time()+$graph_data_array["graph_start"]) . " To " . date($graph_date, time()+$graph_data_array["graph_end"]) . "\\c\"" . RRD_NL . "COMMENT:\"\\n\"" . RRD_NL; + $graph_legend .= "COMMENT:\"From " . date($graph_date, time()+$graph_data_array["graph_start"]) . " To " . date($graph_date, time()+$graph_data_array["graph_end"]) . "\\c\"" . RRD_NL . "COMMENT:\" \\n\"" . RRD_NL; }else if (($graph_data_array["graph_start"] >= 0) && ($graph_data_array["graph_end"] >= 0)) { - $graph_legend .= "COMMENT:\"From " . date($graph_date, $graph_data_array["graph_start"]) . " To " . date($graph_date, $graph_data_array["graph_end"]) . "\\c\"" . RRD_NL . "COMMENT:\"\\n\"" . RRD_NL; + $graph_legend .= "COMMENT:\"From " . date($graph_date, $graph_data_array["graph_start"]) . " To " . date($graph_date, $graph_data_array["graph_end"]) . "\\c\"" . RRD_NL . "COMMENT:\" \\n\"" . RRD_NL; } }