Skip to content

Commit

Permalink
Fixing method names that were omitted when methods were renamed. Than…
Browse files Browse the repository at this point in the history
…ks 'NetersLandreau'
  • Loading branch information
markstory committed Sep 1, 2009
1 parent 4d458e9 commit 4ff668b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/http_socket.php
Expand Up @@ -453,7 +453,7 @@ function _decodeBody($body, $encoding = 'chunked') {
if (empty($encoding)) { if (empty($encoding)) {
return array('body' => $body, 'header' => false); 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 (!is_callable(array(&$this, $decodeMethod))) {
if (!$this->quirksMode) { if (!$this->quirksMode) {
Expand Down

0 comments on commit 4ff668b

Please sign in to comment.