potentially fixes the "federation" bug w/r/t/ tagged forums
This commit is contained in:
parent
852f102ba3
commit
ae5cd53e1e
@ -2103,9 +2103,9 @@ function tgroup_check($uid,$item) {
|
|||||||
// check that the message originated elsewhere and is a top-level post
|
// check that the message originated elsewhere and is a top-level post
|
||||||
// or is a followup and we have already accepted the top level post
|
// or is a followup and we have already accepted the top level post
|
||||||
|
|
||||||
if($arr['mid'] != $arr['parent_mid']) {
|
if($item['mid'] != $item['parent_mid']) {
|
||||||
$r = q("select id from item where mid = '%s' and uid = %d limit 1",
|
$r = q("select id from item where mid = '%s' and uid = %d limit 1",
|
||||||
dbesc($arr['parent_mid']),
|
dbesc($item['parent_mid']),
|
||||||
intval($uid)
|
intval($uid)
|
||||||
);
|
);
|
||||||
if($r)
|
if($r)
|
||||||
|
Reference in New Issue
Block a user