From 52bd375c7808ffde916bd27f2f9708297b48fc8f Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Tue, 5 Aug 2008 21:03:10 +0000 Subject: [PATCH] oh how I hate thee php array --- etc/inc/vslb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc index 0f2e3cf219..d9da5436aa 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']);