aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-19 18:31:04 -0800
committerFriendika <info@friendika.com>2011-01-19 18:31:04 -0800
commitd59585d89dc7541e57a3a5685b2835cd0904e533 (patch)
tree1309215e0b36731c555347567189ce03f2afbf03 /mod
parentb1d67c8d3ca217fb1383cad947c00fb560d51342 (diff)
downloadvolse-hubzilla-d59585d89dc7541e57a3a5685b2835cd0904e533.tar.gz
volse-hubzilla-d59585d89dc7541e57a3a5685b2835cd0904e533.tar.bz2
volse-hubzilla-d59585d89dc7541e57a3a5685b2835cd0904e533.zip
fix context links
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/network.php b/mod/network.php
index e0636f0f8..d094febc6 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -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>'
));
}