diff options
author | marijus <mario@mariovavti.com> | 2015-02-06 10:40:55 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2015-02-06 10:40:55 +0100 |
commit | ed050e8ede9eb4a6f5b45d06a8385026db93106e (patch) | |
tree | 89becd9794e8c7828bd47186aacd9e9039e03b53 /mod | |
parent | e7a68eaef002a9263d20076bcbe6b4c93378255f (diff) | |
download | volse-hubzilla-ed050e8ede9eb4a6f5b45d06a8385026db93106e.tar.gz volse-hubzilla-ed050e8ede9eb4a6f5b45d06a8385026db93106e.tar.bz2 volse-hubzilla-ed050e8ede9eb4a6f5b45d06a8385026db93106e.zip |
fix objurl until get_rel_link() gets sorted
Diffstat (limited to 'mod')
-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 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']; |