aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2015-02-06 11:34:23 +0100
committermarijus <mario@mariovavti.com>2015-02-06 11:34:23 +0100
commit712bc643b5f26315602f34e9d9822ef83cb6b65a (patch)
tree1a43c9af4e706785d71960b84de2be73dbd11d74
parent89739c0ff736beea02483146f30c85b007ea4cfa (diff)
downloadvolse-hubzilla-712bc643b5f26315602f34e9d9822ef83cb6b65a.tar.gz
volse-hubzilla-712bc643b5f26315602f34e9d9822ef83cb6b65a.tar.bz2
volse-hubzilla-712bc643b5f26315602f34e9d9822ef83cb6b65a.zip
revert to get_rel_link()
-rw-r--r--mod/sharedwithme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sharedwithme.php b/mod/sharedwithme.php
index 3c03b7412..d91987027 100644
--- a/mod/sharedwithme.php
+++ b/mod/sharedwithme.php
@@ -83,7 +83,7 @@ function sharedwithme_content(&$a) {
$item['id'] = $rr['id'];
$item['objfiletype'] = $object['filetype'];
$item['objfiletypeclass'] = getIconFromType($object['filetype']);
- $item['objurl'] = rawurldecode($object['link'][0]['href']) . '?f=&zid=' . $channel['xchan_addr'];
+ $item['objurl'] = rawurldecode(get_rel_link($object['link'],'alternate')) . '?f=&zid=' . $channel['xchan_addr'];
$item['objfilename'] = $object['filename'];
$item['objfilesize'] = userReadableSize($object['filesize']);
$item['objedited'] = $object['edited'];