aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-21 20:09:51 -0800
committerfriendica <info@friendica.com>2015-01-21 20:09:51 -0800
commit7d0e0366b946093f81e1ea4e358697fe5a22be64 (patch)
tree2748eb54028f9f0b3d8b31471c298058fc600508 /mod
parent76fe9dc7023f6d67c19770b46ed639c56bc0ff06 (diff)
parentcad8228db3a6b3df0ffa01c84bb2d430749f42c9 (diff)
downloadvolse-hubzilla-7d0e0366b946093f81e1ea4e358697fe5a22be64.tar.gz
volse-hubzilla-7d0e0366b946093f81e1ea4e358697fe5a22be64.tar.bz2
volse-hubzilla-7d0e0366b946093f81e1ea4e358697fe5a22be64.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod')
-rw-r--r--mod/sharedwithme.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/sharedwithme.php b/mod/sharedwithme.php
index 53884788d..ff93051da 100644
--- a/mod/sharedwithme.php
+++ b/mod/sharedwithme.php
@@ -1,5 +1,6 @@
<?php
require_once('include/conversation.php');
+require_once('include/text.php');
function sharedwithme_content(&$a) {
if(! local_user()) {
@@ -105,7 +106,7 @@ function sharedwithme_content(&$a) {
if($r) {
foreach($r as $rr) {
$object = json_decode($rr['object'],true);
- $url = rawurldecode($object['link']['href']);
+ $url = rawurldecode(get_rel_link($object['link'],'alternate'));
$o .= '<a href="' . $url . '?f=&zid=' . $channel['xchan_addr'] . '">' . $url . '</a>&nbsp;<a href="/sharedwithme/' . $rr['id'] . '/drop" onclick="return confirmDelete();"><i class="icon-trash drop-icons"></i></a><br><br>';
}
}