summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_gateway_groups_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-02-09 17:56:33 -0600
committerChris Buechler <cmb@pfsense.org>2016-02-09 17:56:33 -0600
commitd9901ff473dc86e70ae59b3070164ec6e99c7df9 (patch)
treec20939ea03c230d98022f8dd314c6813f1795b88 /src/usr/local/www/system_gateway_groups_edit.php
parent6c3d8b4554388adc49b93d06f3f57477263b3a31 (diff)
downloadpfsense-d9901ff473dc86e70ae59b3070164ec6e99c7df9.zip
pfsense-d9901ff473dc86e70ae59b3070164ec6e99c7df9.tar.gz
Fix style issues.
Diffstat (limited to 'src/usr/local/www/system_gateway_groups_edit.php')
-rw-r--r--src/usr/local/www/system_gateway_groups_edit.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/local/www/system_gateway_groups_edit.php b/src/usr/local/www/system_gateway_groups_edit.php
index c083794..3d4054b 100644
--- a/src/usr/local/www/system_gateway_groups_edit.php
+++ b/src/usr/local/www/system_gateway_groups_edit.php
@@ -196,8 +196,9 @@ function build_vip_list($family = 'all') {
$viplist = get_configured_vip_list($family);
foreach ($viplist as $vip => $address) {
$list[$vip] = "$address";
- if (get_vip_descr($address))
+ if (get_vip_descr($address)) {
$list[$vip] .= " (". get_vip_descr($address) .")";
+ }
}
return($list);
@@ -251,8 +252,9 @@ foreach ($a_gateways as $gwname => $gateway) {
$itemsplit = explode("|", $item);
if ($itemsplit[0] == $gwname) {
$selected = $itemsplit[1];
- if (count($itemsplit) >= 3)
+ if (count($itemsplit) >= 3) {
$vaddress = $itemsplit[2];
+ }
break;
}
}
OpenPOWER on IntegriCloud