Fix show rrdtool command (#11305)

This commit is contained in:
Tony Murray
2020-03-19 10:12:00 -05:00
committed by GitHub
parent 299ae36cd1
commit 22e8b16530
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ if ($error_msg) {
echo "<div class='infobox'>";
echo "<p style='font-size: 16px; font-weight: bold;'>RRDTool Command</p>";
echo "<pre class='rrd-pre'>";
echo "rrdtool ".rrdtool_build_command("graph", $graphfile, $rrd_options);
echo "rrdtool ". Rrd::buildCommand("graph", $graphfile, $rrd_options);
echo "</pre>";
$return = rrdtool_graph($graphfile, $rrd_options);
echo "<p style='font-size: 16px; font-weight: bold;'>RRDTool Output</p>";