aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-02-01 01:08:09 -0200
committerMarcello Coutinho <marcellocoutinho@gmail.com>2012-02-01 01:08:09 -0200
commit6ce82bf086b196acf96c62211809cb61a4b239e5 (patch)
tree555384ca7906b7b3918170f551df377cfc2da352 /config
parent258219b534aeaf160875091f3d7b478d6780ffe6 (diff)
downloadpfsense-packages-6ce82bf086b196acf96c62211809cb61a4b239e5.tar.gz
pfsense-packages-6ce82bf086b196acf96c62211809cb61a4b239e5.tar.bz2
pfsense-packages-6ce82bf086b196acf96c62211809cb61a4b239e5.zip
haproxy - fix array check.
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;