mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing method names that were omitted when methods were renamed. Thanks 'NetersLandreau'
This commit is contained in:
parent
4d458e93b6
commit
4ff668b3ed
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…
Reference in a new issue