Communication of mention tags were garbled

This commit is contained in:
friendica 2013-02-02 04:47:30 -08:00
parent e2dd38b0bc
commit 5c6c4395f4

View file

@ -635,7 +635,7 @@ function decode_tags($t) {
$ret = array();
foreach($t as $x) {
$tag = array();
$tag['term'] = htmlentities($x['term'], ENT_COMPAT,'UTF-8',false);
$tag['term'] = htmlentities($x['tag'], ENT_COMPAT,'UTF-8',false);
$tag['url'] = htmlentities($x['url'], ENT_COMPAT,'UTF-8',false);
switch($x['type']) {
case 'hashtag':