aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-11-16 11:27:20 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-11-16 11:27:20 +0100
commitef8b5bc682b9d5b856f1d5b5ef3202ea95ed1780 (patch)
treec59c350002044a7497839c22e8a4edbc7ad30d07
parentdc3d47edcf764daf144132d94fdb811f650f345e (diff)
downloadvolse-hubzilla-ef8b5bc682b9d5b856f1d5b5ef3202ea95ed1780.tar.gz
volse-hubzilla-ef8b5bc682b9d5b856f1d5b5ef3202ea95ed1780.tar.bz2
volse-hubzilla-ef8b5bc682b9d5b856f1d5b5ef3202ea95ed1780.zip
fix localize item tag
-rw-r--r--include/conversation.php3
1 files changed, 1 insertions, 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 );
-
}
}