Skip to content

Commit

Permalink
Fixing bug with spaces in cluster names
Browse files Browse the repository at this point in the history
  • Loading branch information
vuksanv committed Jan 5, 2012
1 parent 4e4f2f7 commit caa6146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph.php
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@
$rrdtool_graph_args = "";

// First find RRDtool DEFs by parsing $rrdtool_graph['series']
preg_match_all("/([^V]DEF|CDEF):([^ ]*)/",
preg_match_all("/([^V]DEF|CDEF):(.*):(AVERAGE)/",
" " . $rrdtool_graph['series'],
$matches);
foreach ( $matches[0] as $key => $value ) {
Expand Down

0 comments on commit caa6146

Please sign in to comment.