Permalink
Browse files

Fixing method names that were omitted when methods were renamed. Than…

…ks 'NetersLandreau'
  • Loading branch information...
1 parent 4d458e9 commit 4ff668b3edcf6a994c8a5da6bce8dbcbe2d18086 @markstory markstory committed Sep 1, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/http_socket.php
@@ -453,7 +453,7 @@ function _decodeBody($body, $encoding = 'chunked') {
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) {

0 comments on commit 4ff668b

Please sign in to comment.