aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-06 03:54:49 -0700
committerfriendica <info@friendica.com>2013-08-06 03:54:49 -0700
commit24b9799dcad3dc4a224ce2ceaf52645657106a60 (patch)
tree0230360c1c7f4ec9d05f5846fb297dc3500d1470 /include/zot.php
parent71347bb9e0c5daca206b0ea32812874e165b7b63 (diff)
downloadvolse-hubzilla-24b9799dcad3dc4a224ce2ceaf52645657106a60.tar.gz
volse-hubzilla-24b9799dcad3dc4a224ce2ceaf52645657106a60.tar.bz2
volse-hubzilla-24b9799dcad3dc4a224ce2ceaf52645657106a60.zip
convert all stored json calls to json_decode_plus()
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index 437ec0c86..d1bc03bc2 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1153,9 +1153,9 @@ function remove_community_tag($sender,$arr,$uid) {
$i = $r[0];
if($i['target'])
- $i['target'] = json_decode($i['target'],true);
+ $i['target'] = json_decode_plus($i['target']);
if($i['object'])
- $i['object'] = json_decode($i['object'],true);
+ $i['object'] = json_decode_plus($i['object']);
if(! ($i['target'] && $i['object'])) {
logger('remove_community_tag: no target/object');