summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2008-08-05 21:03:10 +0000
committerBill Marquette <billm@pfsense.org>2008-08-05 21:03:10 +0000
commit52bd375c7808ffde916bd27f2f9708297b48fc8f (patch)
treeffb3e6c031f226faf82fc5753d4d7752033c706f /etc
parentfc9351e17f3614bd7742dad98d32d6c75418e5ca (diff)
downloadpfsense-52bd375c7808ffde916bd27f2f9708297b48fc8f.zip
pfsense-52bd375c7808ffde916bd27f2f9708297b48fc8f.tar.gz
oh how I hate thee php array
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vslb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index 0f2e3cf..d9da543 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -128,7 +128,7 @@ function relayd_configure() {
$check_a = array();
- foreach ($config['load_balancer']['monitor_type'] as $type) {
+ foreach ((array)$config['load_balancer']['monitor_type'] as $type) {
switch($type['type']) {
case 'icmp': {
$mon = new ICMPMonitor($type['options']);
OpenPOWER on IntegriCloud