tagger_content(): use the $owner_nickname for constructing the link
authorrabuzarus <rabuzarus@t-online.de>
Mon, 12 Feb 2018 16:46:34 +0000 (17:46 +0100)
committerrabuzarus <rabuzarus@t-online.de>
Mon, 12 Feb 2018 16:46:34 +0000 (17:46 +0100)
mod/tagger.php

index 0ee8d88..4da4eca 100644 (file)
@@ -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']);