convert all stored json calls to json_decode_plus()

This commit is contained in:
friendica
2013-08-06 03:54:49 -07:00
parent 71347bb9e0
commit 24b9799dca
6 changed files with 24 additions and 24 deletions

View File

@@ -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");