From ef8b5bc682b9d5b856f1d5b5ef3202ea95ed1780 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Wed, 16 Nov 2011 11:27:20 +0100 Subject: fix localize item tag --- include/conversation.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index 7f9627a7d..9ac251e46 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -112,10 +112,9 @@ function localize_item(&$item){ $parsedobj = parse_xml_string($xmlhead.$item['object']); - $tag = sprintf('#[url=%s]%s[/url]', $parsedobj->link, $parsedobj->content); + $tag = sprintf('#[url=%s]%s[/url]', $parsedobj->id, $parsedobj->content); $item['body'] = sprintf( t('%1$s tagged %2$s\'s %3$s with %4$s'), $author, $objauthor, $plink, $tag ); - } } -- cgit v1.2.3