From 4805826b4e8a5baf0ad4466d1fad6661e8d8cc99 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Fri, 30 Jan 2015 13:08:58 +0000 Subject: [PATCH] fixed bug in Client.php --- application/module/Open/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/module/Open/Client.php b/application/module/Open/Client.php index 68ba4e48..7d40eb32 100644 --- a/application/module/Open/Client.php +++ b/application/module/Open/Client.php @@ -138,7 +138,7 @@ class Client extends \Zend_Controller_Plugin_Abstract $cache_data = json_decode($data['response'],true); - $userinfo = json_decode($cache_data['userInfo']); + $userinfo = json_decode($cache_data['userInfo'],true); if(!is_array($cache_data) || !isset($cache_data['expires_in']) || !isset($userinfo['cstnetId'])) {