From: friendica Date: Sat, 23 Jun 2012 13:13:11 +0000 (-0700) Subject: make feeds work with comment likes/dislikes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1ba0d73a9aef3fd8469cd886bf6647e966a272b2;p=friendica.git make feeds work with comment likes/dislikes --- diff --git a/include/items.php b/include/items.php index 87aaeaa323..5bbceb1982 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 .= '' . "\r\n"; }