aboutsummaryrefslogtreecommitdiffstats
path: root/mod/tagger.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-29 22:34:05 -0700
committerfriendica <info@friendica.com>2012-04-29 22:34:05 -0700
commit928faf3b9712e88e030b2ccbbc630e3991e03d03 (patch)
treeaa1b56c5133653b2828cc2c904ab647b66b0f654 /mod/tagger.php
parentae2aa744449f0e7161c5fae81773ae5defd3ad76 (diff)
downloadvolse-hubzilla-928faf3b9712e88e030b2ccbbc630e3991e03d03.tar.gz
volse-hubzilla-928faf3b9712e88e030b2ccbbc630e3991e03d03.tar.bz2
volse-hubzilla-928faf3b9712e88e030b2ccbbc630e3991e03d03.zip
typo in profile_selectors, fix remote tagging
Diffstat (limited to 'mod/tagger.php')
-rw-r--r--mod/tagger.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/tagger.php b/mod/tagger.php
index 8ee499f5f..6212e2b9b 100644
--- a/mod/tagger.php
+++ b/mod/tagger.php
@@ -66,14 +66,14 @@ function tagger_content(&$a) {
}
$uri = item_new_uri($a->get_hostname(),$owner_uid);
-
+ $xterm = xmlify($term);
$post_type = (($item['resource-id']) ? t('photo') : t('status'));
$targettype = (($item['resource-id']) ? ACTIVITY_OBJ_PHOTO : ACTIVITY_OBJ_NOTE );
$link = xmlify('<link rel="alternate" type="text/html" href="'
. $a->get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . '" />' . "\n") ;
- $body = $item['body'];
+ $body = xmlify($item['body']);
$target = <<< EOT
<target>
@@ -95,8 +95,8 @@ EOT;
<local>1</local>
<id>$tagid</id>
<link>$tagid</link>
- <title>$term</title>
- <content>$term</content>
+ <title>$xterm</title>
+ <content>$xterm</content>
</object>
EOT;