From: friendica Date: Sat, 23 Jun 2012 13:04:56 +0000 (-0700) Subject: typo X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f55e8e831c3becb0bf981d637179226550b9907c;p=friendica.git typo --- diff --git a/include/items.php b/include/items.php index a0dd1c8159..87aaeaa323 100755 --- a/include/items.php +++ b/include/items.php @@ -2931,8 +2931,10 @@ 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'])) - $o .= '' . "\r\n"; + if(($item['parent'] != $item['id']) || ($item['parent-uri'] !== $item['uri'])) { + $parent_item = (($item['thr-parent']) ? $item['thr-parent'] : $item['parent-uri']); + $o .= '' . "\r\n"; + } $o .= '' . xmlify($item['uri']) . '' . "\r\n"; $o .= '' . xmlify($item['title']) . '' . "\r\n";