diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-21 23:39:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-21 23:39:18 +0000 |
commit | 94b2820cd068a1bb235098e5a6e87be5775e8c6f (patch) | |
tree | 9a3666686fe874a4e4614586479277862f1630f9 /etc/inc/vslb.inc | |
parent | ffecf891209570563d982554fca069b0e2a4be1a (diff) | |
download | pfsense-94b2820cd068a1bb235098e5a6e87be5775e8c6f.zip pfsense-94b2820cd068a1bb235098e5a6e87be5775e8c6f.tar.gz |
Correct is_array() check.
Suggested-by: Bill M
Diffstat (limited to 'etc/inc/vslb.inc')
-rw-r--r-- | etc/inc/vslb.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc index c31c5d2..bd19244 100644 --- a/etc/inc/vslb.inc +++ b/etc/inc/vslb.inc @@ -73,7 +73,7 @@ function slbd_configure() { $svrtxt = ""; $svrtxt = "\t:service-port={$config['load_balancer']['lbpool'][$i]['port']}:\\\n"; if($config['load_balancer']['lbpool']) - if(is_array($config['load_balancer']['lbpool'])) + if(is_array($config['load_balancer']['lbpool'][$i]['servers'])) foreach ($config['load_balancer']['lbpool'][$i]['servers'] as $lbsvr) { $svrtxt .= "\t:{$svrcnt}={$lbsvr}:\\\n"; $svrcnt++; |