small fix not to show stack value on legend

This commit is contained in:
crcro
2016-07-08 18:02:07 +00:00
parent 6fc1dac1d8
commit f0f8886174
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ $scale_min = 0;
$colours = 'mixed'; $colours = 'mixed';
$unit_text = 'Operation'; $unit_text = 'Operation';
$unitlen = 9; $unitlen = 9;
$stack = 0; $dostack = 0;
$rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/app-nfsstats-'.$app['app_id'].'.rrd'; $rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/app-nfsstats-'.$app['app_id'].'.rrd';
$array = array( $array = array(
'total' => array( 'total' => array(

View File

@@ -88,7 +88,7 @@ foreach ($rrd_list as $rrd) {
$t_defname = $g_defname; $t_defname = $g_defname;
} }
if ($i && ($stack === 1)) { if ($i && ($dostack === 1)) {
$stack = ':STACK'; $stack = ':STACK';
} }