Skip to content

Commit

Permalink
correct realtime rendering for some versions of rrdtool
Browse files Browse the repository at this point in the history
  • Loading branch information
cigamit committed Apr 2, 2016
1 parent 8f76452 commit 08f46f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rrd.php
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ function rrd_function_process_graph_options($graph_start, $graph_end, &$graph, &
}
}

$graph_opts .= "$rigid" . trim("$scale $unit_value $unit_exponent_value $graph_legend ", "\n\r " . RRD_NL) . RRD_NL;
$graph_opts .= "$rigid" . trim("$scale$unit_value$unit_exponent_value$graph_legend", "\n\r " . RRD_NL) . RRD_NL;

/* add a date to the graph legend */
$graph_opts .= rrdtool_function_format_graph_date($graph_data_array);
Expand Down

0 comments on commit 08f46f2

Please sign in to comment.