mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Remove Zend
This commit is contained in:
parent
ee659bb190
commit
3e161065f3
2494 changed files with 7 additions and 298818 deletions
|
@ -30,7 +30,7 @@ if (!defined('IN_AJAX')) {
|
|||
global $bf, $lang;
|
||||
|
||||
$user_id = (int)$this->request['user_id'];
|
||||
$new_opt = Zend\Json\Json::decode($this->request['user_opt'], Zend\Json\Json::TYPE_ARRAY);
|
||||
$new_opt = json_decode($this->request['user_opt'], true);
|
||||
|
||||
if (!$user_id or !$u_data = get_userdata($user_id)) {
|
||||
$this->ajax_die('invalid user_id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue