build_sync_packet - use correct host data element

This commit is contained in:
friendica 2013-07-23 20:58:25 -07:00
parent 727ab78f9a
commit fd09cfa1df

View File

@ -28,7 +28,7 @@ function build_sync_packet($uid = 0, $packet = null) {
$synchubs = array();
foreach($h as $x) {
if($x['host'] == $a->get_hostname())
if($x['hubloc_host'] == $a->get_hostname())
continue;
$synchubs[] = $x;
}