build_sync_packet - use correct host data element
This commit is contained in:
parent
727ab78f9a
commit
fd09cfa1df
@ -28,7 +28,7 @@ function build_sync_packet($uid = 0, $packet = null) {
|
|||||||
$synchubs = array();
|
$synchubs = array();
|
||||||
|
|
||||||
foreach($h as $x) {
|
foreach($h as $x) {
|
||||||
if($x['host'] == $a->get_hostname())
|
if($x['hubloc_host'] == $a->get_hostname())
|
||||||
continue;
|
continue;
|
||||||
$synchubs[] = $x;
|
$synchubs[] = $x;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user