aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-23 06:13:11 -0700
committerfriendica <info@friendica.com>2012-06-23 06:13:11 -0700
commit1ba0d73a9aef3fd8469cd886bf6647e966a272b2 (patch)
treea57f56109788e9d3b271dfeed80a5ebeb705f6da /include
parentf55e8e831c3becb0bf981d637179226550b9907c (diff)
downloadvolse-hubzilla-1ba0d73a9aef3fd8469cd886bf6647e966a272b2.tar.gz
volse-hubzilla-1ba0d73a9aef3fd8469cd886bf6647e966a272b2.tar.bz2
volse-hubzilla-1ba0d73a9aef3fd8469cd886bf6647e966a272b2.zip
make feeds work with comment likes/dislikes
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 87aaeaa32..5bbceb198 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2931,7 +2931,7 @@ function atom_entry($item,$type,$author,$owner,$comment = false,$cid = 0) {
if(strlen($item['owner-name']))
$o .= atom_author('dfrn:owner',$item['owner-name'],$item['owner-link'],80,80,$item['owner-avatar']);
- if(($item['parent'] != $item['id']) || ($item['parent-uri'] !== $item['uri'])) {
+ if(($item['parent'] != $item['id']) || ($item['parent-uri'] !== $item['uri']) || ($item['thr-parent'])) {
$parent_item = (($item['thr-parent']) ? $item['thr-parent'] : $item['parent-uri']);
$o .= '<thr:in-reply-to ref="' . xmlify($parent_item) . '" type="text/html" href="' . xmlify($a->get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['parent']) . '" />' . "\r\n";
}