fixed bug in Client.php
This commit is contained in:
parent
24e562dd52
commit
4805826b4e
|
@ -138,7 +138,7 @@ class Client extends \Zend_Controller_Plugin_Abstract
|
||||||
|
|
||||||
$cache_data = json_decode($data['response'],true);
|
$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']))
|
if(!is_array($cache_data) || !isset($cache_data['expires_in']) || !isset($userinfo['cstnetId']))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue