add clear
This commit is contained in:
@@ -478,7 +478,7 @@ class HttpClient
|
||||
}
|
||||
return json_decode($encode, TRUE);
|
||||
} else if (strpos($type, 'plain') !== false) {
|
||||
return json_decode($data, TRUE);
|
||||
return json_decode($body, TRUE);
|
||||
} else {
|
||||
return $body;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user