mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02: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