diff --git a/html/includes/graphs/graph.inc.php b/html/includes/graphs/graph.inc.php index 6a07333e43..cd961e43b6 100644 --- a/html/includes/graphs/graph.inc.php +++ b/html/includes/graphs/graph.inc.php @@ -119,7 +119,7 @@ if ($error_msg) { echo "
"; echo "

RRDTool Command

"; echo "
";
-        echo "rrdtool graph $graphfile $rrd_options";
+        echo "rrdtool ".rrdtool_build_command("graph", $graphfile, $rrd_options);
         echo "
"; $return = rrdtool_graph($graphfile, $rrd_options); echo "

RRDTool Output

";