aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-28 05:04:49 -0700
committerFriendika <info@friendika.com>2011-08-28 05:04:49 -0700
commit4572f32603905de369b82e02a6776d25877bec33 (patch)
treeb276237db040d00d57a5adc4766f3f732a141cfe /include
parent41b00a6f3b6e46b4886e91069109b538f7596b12 (diff)
downloadvolse-hubzilla-4572f32603905de369b82e02a6776d25877bec33.tar.gz
volse-hubzilla-4572f32603905de369b82e02a6776d25877bec33.tar.bz2
volse-hubzilla-4572f32603905de369b82e02a6776d25877bec33.zip
cleanup
Diffstat (limited to 'include')
-rw-r--r--include/diaspora.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 9a43c7b07..10b342289 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -1061,6 +1061,8 @@ function diaspora_send_relay($item,$owner,$contact) {
$like = false;
}
+ $body = $item['body'];
+
$itemcontact = q("select * from contact where `id` = %d limit 1",
intval($item['contact-id'])
);
@@ -1069,11 +1071,11 @@ function diaspora_send_relay($item,$owner,$contact) {
$prefix = sprintf( t('[Relayed] Comment authored by %s from network %s'),
'['. $item['author-name'] . ']' . '(' . $item['author-link'] . ')',
network_to_name($itemcontact['network'])) . "\n";
- $body = $prefix . $body.
+ $body = $prefix . $body;
}
}
- $text = html_entity_decode(bb2diaspora($item['body']));
+ $text = html_entity_decode(bb2diaspora($body));
// fetch the original signature if somebody sent the post to us to relay
// If we are relaying for a reply originating here, there wasn't a 'send to relay'