From 2df083efb10c1282b33900b588c0d39987f3c9b2 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 3 Sep 2012 22:32:35 -0700 Subject: rev update --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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]; -- cgit v1.2.3