aboutsummaryrefslogtreecommitdiffstats
path: root/mod
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 /mod
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 'mod')
-rw-r--r--mod/editpost.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/editpost.php b/mod/editpost.php
index e36e0ea5a..583bae9eb 100644
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -52,9 +52,9 @@ function editpost_content(&$a) {
if($itm[0]['item_flags'] & ITEM_OBSCURED) {
$key = get_config('system','prvkey');
if($itm[0]['title'])
- $itm[0]['title'] = aes_unencapsulate(json_decode($itm[0]['title'],true),$key);
+ $itm[0]['title'] = aes_unencapsulate(json_decode_plus($itm[0]['title']),$key);
if($itm[0]['body'])
- $itm[0]['body'] = aes_unencapsulate(json_decode($itm[0]['body'],true),$key);
+ $itm[0]['body'] = aes_unencapsulate(json_decode_plus($itm[0]['body']),$key);
}
$tpl = get_markup_template("jot.tpl");