aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-02 23:05:15 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-02 23:05:15 -0700
commitdb70c76494997dfda4f850b4ee63ddae2c608bde (patch)
tree80af7ac263e800da426805d99d9009900323df0c
parent9f5dfe797bb8c68b7ba4935abe87f355bd56f04f (diff)
downloadvolse-hubzilla-db70c76494997dfda4f850b4ee63ddae2c608bde.tar.gz
volse-hubzilla-db70c76494997dfda4f850b4ee63ddae2c608bde.tar.bz2
volse-hubzilla-db70c76494997dfda4f850b4ee63ddae2c608bde.zip
diaspora_meta getting double json encoded
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 755ea0767..30cde0745 100755
--- a/include/items.php
+++ b/include/items.php
@@ -866,7 +866,7 @@ function get_item_elements($x) {
$arr['sig'] = (($x['signature']) ? htmlspecialchars($x['signature'], ENT_COMPAT,'UTF-8',false) : '');
- $arr['diaspora_meta'] = (($x['diaspora_signature']) ? json_encode($x['diaspora_signature']) : '');
+ $arr['diaspora_meta'] = (($x['diaspora_signature']) ? $x['diaspora_signature'] : '');
$arr['object'] = activity_sanitise($x['object']);
$arr['target'] = activity_sanitise($x['target']);