mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
add missing underscore to _decodeBody.
This commit is contained in:
parent
474ec34a5d
commit
b8b382f8e7
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ class HttpSocket extends CakeSocket {
|
|||
if (empty($encoding)) {
|
||||
return array('body' => $body, 'header' => false);
|
||||
}
|
||||
$decodeMethod = 'decode'.Inflector::camelize(str_replace('-', '_', $encoding)).'Body';
|
||||
$decodeMethod = '_decode'.Inflector::camelize(str_replace('-', '_', $encoding)).'Body';
|
||||
|
||||
if (!is_callable(array(&$this, $decodeMethod))) {
|
||||
if (!$this->quirksMode) {
|
||||
|
|
Loading…
Add table
Reference in a new issue