]> git.mxchange.org Git - friendica.git/commitdiff
fix context links
authorFriendika <info@friendika.com>
Thu, 20 Jan 2011 02:31:04 +0000 (18:31 -0800)
committerFriendika <info@friendika.com>
Thu, 20 Jan 2011 02:31:04 +0000 (18:31 -0800)
mod/network.php

index e0636f0f8779020408a6eece7ed472c630d8149f..d094febc67f0c85c454888faf34f97fbfa5e6948 100644 (file)
@@ -154,7 +154,7 @@ function network_content(&$a, $update = 0) {
        if($nouveau) {
                $r = q("SELECT `item`.*, `item`.`id` AS `item_id`, 
                        `contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`,
-                       `contact`.`network`, `contact`.`thumb`, `contact`.`dfrn-id`, `contact`.`self`, 
+                       `contact`.`network`, `contact`.`thumb`, `contact`.`dfrn-id`, `contact`.`self`,
                        `contact`.`id` AS `cid`, `contact`.`uid` AS `contact-uid`
                        FROM `item`, `contact`
                        WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND `item`.`deleted` = 0
@@ -242,7 +242,7 @@ function network_content(&$a, $update = 0) {
                                        '$owner_photo' => $owner_photo,
                                        '$owner_name' => $owner_name,
                                        '$drop' => $drop,
-                                       '$conv' => '<a href="' . $a->get_baseurl() . '/display/' . $item['nickname'] . '/' . $item['id'] . '">' . t('View in context') . '</a>'
+                                       '$conv' => '<a href="' . $a->get_baseurl() . '/display/' . $a->user['nickname'] . '/' . $item['id'] . '">' . t('View in context') . '</a>'
                                ));
 
                        }