sforkowany z mirror/friendica
tagger_content(): use the $owner_nickname for constructing the link
rodzic
049a4f5f86
commit
02654c28f7
|
@ -72,7 +72,7 @@ function tagger_content(App $a) {
|
|||
$targettype = (($item['resource-id']) ? ACTIVITY_OBJ_IMAGE : ACTIVITY_OBJ_NOTE );
|
||||
|
||||
$link = xmlify('<link rel="alternate" type="text/html" href="'
|
||||
. System::baseUrl() . '/display/' . $r['nickname'] . '/' . $item['id'] . '" />' . "\n") ;
|
||||
. System::baseUrl() . '/display/' . $owner_nick . '/' . $item['id'] . '" />' . "\n") ;
|
||||
|
||||
$body = xmlify($item['body']);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue