mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
oh how I hate thee php array
This commit is contained in:
parent
fc9351e17f
commit
52bd375c78
@ -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']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user