aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-13 22:11:06 -0700
committerredmatrix <git@macgirvin.com>2016-07-13 22:11:06 -0700
commitb3a785711cde52a3c03c0a0eb90ce4e9ce8d9059 (patch)
tree3e903f0d2a9af6dd036bf1013c6abe0a1ebc085a /include/conversation.php
parent503b42029212a61ce4aefcf63eb2a865ee334619 (diff)
downloadvolse-hubzilla-b3a785711cde52a3c03c0a0eb90ce4e9ce8d9059.tar.gz
volse-hubzilla-b3a785711cde52a3c03c0a0eb90ce4e9ce8d9059.tar.bz2
volse-hubzilla-b3a785711cde52a3c03c0a0eb90ce4e9ce8d9059.zip
deprecate/remove json_decode_plus
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 957dbf8e9..1efca37f3 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -99,7 +99,7 @@ function localize_item(&$item){
if(intval($item['item_thread_top']))
return;
- $obj = json_decode_plus($item['obj']);
+ $obj = json_decode($item['obj'],true);
if((! $obj) && ($item['obj'])) {
logger('localize_item: failed to decode object: ' . print_r($item['obj'],true));
}
@@ -186,7 +186,7 @@ function localize_item(&$item){
$Alink = $item['author']['xchan_url'];
- $obj= json_decode_plus($item['obj']);
+ $obj= json_decode($item['obj'],true);
$Blink = $Bphoto = '';
@@ -219,7 +219,7 @@ function localize_item(&$item){
$Aname = $item['author']['xchan_name'];
$Alink = $item['author']['xchan_url'];
- $obj= json_decode_plus($item['obj']);
+ $obj= json_decode($item['obj'],true);
$Blink = $Bphoto = '';