aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-09-03 22:32:35 -0700
committerfriendica <info@friendica.com>2012-09-03 22:32:35 -0700
commit2df083efb10c1282b33900b588c0d39987f3c9b2 (patch)
tree56c980148e54a0ea3244a62fc0cf4111b3f11613 /include
parentfb35742aab9b08ddee06fb576231a3248e77e185 (diff)
downloadvolse-hubzilla-2df083efb10c1282b33900b588c0d39987f3c9b2.tar.gz
volse-hubzilla-2df083efb10c1282b33900b588c0d39987f3c9b2.tar.bz2
volse-hubzilla-2df083efb10c1282b33900b588c0d39987f3c9b2.zip
rev update
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 0b4ed6ee6..c57d8a50a 100644
--- a/include/text.php
+++ b/include/text.php
@@ -935,7 +935,7 @@ function prepare_body($item,$attach = false) {
}
$title = ((strlen(trim($mtch[4]))) ? escape_tags(trim($mtch[4])) : escape_tags($mtch[1]));
$title .= ' ' . $mtch[2] . ' ' . t('bytes');
- if((local_user() == $item['uid']) && $item['contact-id'] != $a->contact['id'])
+ if((local_user() == $item['uid']) && ($item['contact-id'] != $a->contact['id']) && ($item['network'] == NETWORK_DFRN))
$the_url = $a->get_baseurl() . '/redir/' . $item['contact-id'] . '?f=1&url=' . $mtch[1];
else
$the_url = $mtch[1];