aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-01 21:24:55 -0700
committerfriendica <info@friendica.com>2013-08-01 21:24:55 -0700
commitae5cd53e1ed6ad9a222acaf26593d42bc8204413 (patch)
tree04f952f5c0bd893afe452fac574c188590024e4b /include/items.php
parent852f102ba358b9b6997907b75710f3511a0322ac (diff)
downloadvolse-hubzilla-ae5cd53e1ed6ad9a222acaf26593d42bc8204413.tar.gz
volse-hubzilla-ae5cd53e1ed6ad9a222acaf26593d42bc8204413.tar.bz2
volse-hubzilla-ae5cd53e1ed6ad9a222acaf26593d42bc8204413.zip
potentially fixes the "federation" bug w/r/t/ tagged forums
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 4409ed400..bacb68909 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2103,9 +2103,9 @@ function tgroup_check($uid,$item) {
// 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
- 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",
- dbesc($arr['parent_mid']),
+ dbesc($item['parent_mid']),
intval($uid)
);
if($r)