This commit is contained in:
redmatrix 2015-09-22 19:14:21 -07:00
commit c699d3a17a

View file

@ -2816,8 +2816,10 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) {
$channel = $r[0]; $channel = $r[0];
$h = q("select * from hubloc where hubloc_hash = '%s'", $h = q("select * from hubloc where hubloc_hash = '%s' and not (hubloc_flags & %d) > 0 and not (hubloc_status & %d) > 0",
dbesc($channel['channel_hash']) dbesc($channel['channel_hash']),
intval(HUBLOC_FLAGS_DELETED),
intval(HUBLOC_OFFLINE)
); );
if(! $h) if(! $h)