From 913314f831c7d926f6a52652877fe0c8b065dba2 Mon Sep 17 00:00:00 2001 From: wiad Date: Tue, 19 Jan 2016 10:59:13 +0100 Subject: [PATCH] fix if statement style --- html/includes/graphs/device/ib_dhcp_messages.inc.php | 3 ++- html/includes/graphs/device/ib_dns_dyn_updates.inc.php | 3 ++- html/includes/graphs/device/ib_dns_performance.inc.php | 3 ++- .../includes/graphs/device/ib_dns_request_return_codes.inc.php | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/html/includes/graphs/device/ib_dhcp_messages.inc.php b/html/includes/graphs/device/ib_dhcp_messages.inc.php index 6c43a47e87..246f579f00 100644 --- a/html/includes/graphs/device/ib_dhcp_messages.inc.php +++ b/html/includes/graphs/device/ib_dhcp_messages.inc.php @@ -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'"; } diff --git a/html/includes/graphs/device/ib_dns_dyn_updates.inc.php b/html/includes/graphs/device/ib_dns_dyn_updates.inc.php index e5e511ba80..b592141854 100644 --- a/html/includes/graphs/device/ib_dns_dyn_updates.inc.php +++ b/html/includes/graphs/device/ib_dns_dyn_updates.inc.php @@ -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'"; } diff --git a/html/includes/graphs/device/ib_dns_performance.inc.php b/html/includes/graphs/device/ib_dns_performance.inc.php index f97c1eb9ba..17b8d8b09c 100644 --- a/html/includes/graphs/device/ib_dns_performance.inc.php +++ b/html/includes/graphs/device/ib_dns_performance.inc.php @@ -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'"; } diff --git a/html/includes/graphs/device/ib_dns_request_return_codes.inc.php b/html/includes/graphs/device/ib_dns_request_return_codes.inc.php index 180f6ebd43..21504dd819 100644 --- a/html/includes/graphs/device/ib_dns_request_return_codes.inc.php +++ b/html/includes/graphs/device/ib_dns_request_return_codes.inc.php @@ -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'"; }