aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/haproxy/haproxy_pools.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy_pools.php b/config/haproxy/haproxy_pools.php
index c5adc70b..e11fb0c9 100755
--- a/config/haproxy/haproxy_pools.php
+++ b/config/haproxy/haproxy_pools.php
@@ -124,7 +124,7 @@ include("head.inc");
$textss = "<span class=\"gray\">";
$textse = "</span>";
}
- if (is_array($pool['ha_servers']['item']))
+ if (is_array($pool['ha_servers']))
$count = count($pool['ha_servers']['item']);
else
$count = 0;