mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix if statement style
This commit is contained in:
@@ -33,7 +33,8 @@ foreach ($stats as $stat => $color) {
|
||||
# Set up area graphing with stacking
|
||||
if ( $i == "0" ) {
|
||||
$rrd_options .= " 'AREA:cdef".$stat . $color.":".ucfirst($stat)."'";
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$rrd_options .= " 'AREA:cdef".$stat . $color.":".ucfirst($stat).":STACK'";
|
||||
}
|
||||
|
||||
|
@@ -28,7 +28,8 @@ foreach ($stats as $stat => $color) {
|
||||
# Set up area graphing with stacking
|
||||
if ( $i == "0" ) {
|
||||
$rrd_options .= " 'AREA:cdef".$stat . $color.":".$stat."'";
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$rrd_options .= " 'AREA:cdef".$stat . $color.":".$stat.":STACK'";
|
||||
}
|
||||
|
||||
|
@@ -25,7 +25,8 @@ foreach ($stats as $stat => $color) {
|
||||
# Set up area graphing with stacking
|
||||
if ( $i == "0" ) {
|
||||
$rrd_options .= " 'AREA:".$stat . $color.":".$stat."'";
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$rrd_options .= " 'AREA:".$stat . $color.":".$stat.":STACK'";
|
||||
}
|
||||
|
||||
|
@@ -28,7 +28,8 @@ foreach ($stats as $stat => $color) {
|
||||
# Set up area graphing with stacking
|
||||
if ( $i == "0" ) {
|
||||
$rrd_options .= " 'AREA:cdef".$stat . $color.":".ucfirst($stat)."'";
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$rrd_options .= " 'AREA:cdef".$stat . $color.":".ucfirst($stat).":STACK'";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user