Fixed host status bug - how did that get there??

This commit is contained in:
Eirik Oeverby 2010-08-13 22:37:36 +02:00
parent ae67b1fbe1
commit 94933d561c

View File

@ -170,7 +170,7 @@ if ($_POST) {
$pool_hosts=array();
foreach ((array) $pool['servers'] as $server) {
$svr['ip']['addr']=$server;
$svr['ip']['state']=$relay_hosts[$pool['name'].":".$pool['port']][$server['ip']]['state'];
$svr['ip']['state']=$relay_hosts[$pool['name'].":".$pool['port']][$server]['state'];
$pool_hosts[]=$svr;
}
foreach ((array) $pool['serversdisabled'] as $server) {