diff options
author | friendica <info@friendica.com> | 2015-02-08 13:53:46 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-08 13:53:46 -0800 |
commit | 11dfeb652b2e07e0e4eb27643e4c8ece7e6f9942 (patch) | |
tree | c5c1dd997cf9f246e0c9b1e323d7e6d37bd7ef00 | |
parent | 9b1c09fe83bd0201c326059e6fe9e3823ae11f5b (diff) | |
parent | 712bc643b5f26315602f34e9d9822ef83cb6b65a (diff) | |
download | volse-hubzilla-11dfeb652b2e07e0e4eb27643e4c8ece7e6f9942.tar.gz volse-hubzilla-11dfeb652b2e07e0e4eb27643e4c8ece7e6f9942.tar.bz2 volse-hubzilla-11dfeb652b2e07e0e4eb27643e4c8ece7e6f9942.zip |
Merge https://github.com/friendica/red into pending_merge
-rw-r--r-- | mod/sharedwithme.php | 2 |
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']; |