diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-02-01 01:08:09 -0200 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-02-01 01:08:09 -0200 |
commit | 6ce82bf086b196acf96c62211809cb61a4b239e5 (patch) | |
tree | 555384ca7906b7b3918170f551df377cfc2da352 /config/haproxy | |
parent | 258219b534aeaf160875091f3d7b478d6780ffe6 (diff) | |
download | pfsense-packages-6ce82bf086b196acf96c62211809cb61a4b239e5.tar.gz pfsense-packages-6ce82bf086b196acf96c62211809cb61a4b239e5.tar.bz2 pfsense-packages-6ce82bf086b196acf96c62211809cb61a4b239e5.zip |
haproxy - fix array check.
Diffstat (limited to 'config/haproxy')
-rwxr-xr-x | config/haproxy/haproxy_pools.php | 2 |
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; |