mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
ZF JSON
Убираем местные костыли по работе с JSON.
This commit is contained in:
parent
c69eec1b41
commit
067528b2d7
7 changed files with 9 additions and 89 deletions
|
@ -5,7 +5,7 @@ if (!defined('IN_AJAX')) die(basename(__FILE__));
|
|||
global $bf, $lang;
|
||||
|
||||
$user_id = (int) $this->request['user_id'];
|
||||
$new_opt = bb_json_decode($this->request['user_opt']);
|
||||
$new_opt = Zend\Json\Json::decode($this->request['user_opt']);
|
||||
|
||||
if (!$user_id OR !$u_data = get_userdata($user_id))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue