aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-06 02:08:12 -0800
committerfriendica <info@friendica.com>2015-02-06 02:08:12 -0800
commit89739c0ff736beea02483146f30c85b007ea4cfa (patch)
tree9268344186b975c35bb53872d5807ba4d394aafd
parent8840980797e83fa4831d075dff99cd47cd9f8c21 (diff)
parented050e8ede9eb4a6f5b45d06a8385026db93106e (diff)
downloadvolse-hubzilla-89739c0ff736beea02483146f30c85b007ea4cfa.tar.gz
volse-hubzilla-89739c0ff736beea02483146f30c85b007ea4cfa.tar.bz2
volse-hubzilla-89739c0ff736beea02483146f30c85b007ea4cfa.zip
Merge https://github.com/friendica/red into pending_merge
-rw-r--r--mod/sharedwithme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sharedwithme.php b/mod/sharedwithme.php
index d91987027..3c03b7412 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(get_rel_link($object['link'],'alternate')) . '?f=&zid=' . $channel['xchan_addr'];
+ $item['objurl'] = rawurldecode($object['link'][0]['href']) . '?f=&zid=' . $channel['xchan_addr'];
$item['objfilename'] = $object['filename'];
$item['objfilesize'] = userReadableSize($object['filesize']);
$item['objedited'] = $object['edited'];