aboutsummaryrefslogtreecommitdiffstats
path: root/include/bb2diaspora.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-24 14:04:32 -0700
committerfriendica <info@friendica.com>2014-10-24 14:04:32 -0700
commitcf05266b15e49020c217107fd81896171d5ef26b (patch)
tree090f35edba20b10d8620be4bcc4633feaaf930e3 /include/bb2diaspora.php
parent1845ddc4c3d3f729dde3905f0f87741ac3d3bf66 (diff)
downloadvolse-hubzilla-cf05266b15e49020c217107fd81896171d5ef26b.tar.gz
volse-hubzilla-cf05266b15e49020c217107fd81896171d5ef26b.tar.bz2
volse-hubzilla-cf05266b15e49020c217107fd81896171d5ef26b.zip
should probably check the body since the title is only going to be rarely set.
Diffstat (limited to 'include/bb2diaspora.php')
-rw-r--r--include/bb2diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php
index d094e33c2..8a178d1ac 100644
--- a/include/bb2diaspora.php
+++ b/include/bb2diaspora.php
@@ -340,7 +340,7 @@ function bb2diaspora_itembody($item,$force_update = false) {
if(array_key_exists('item_flags',$item) && ($item['item_flags'] & ITEM_OBSCURED)) {
$key = get_config('system','prvkey');
- $b = json_decode($item['title'],true);
+ $b = json_decode($item['body'],true);
// if called from diaspora_process_outbound, this decoding has already been done.
// Everything else that calls us will not yet be decoded.
if($b && is_array($b) && array_key_exists('iv',$b)) {