Permalink
Browse files

add missing underscore to _decodeBody.

  • Loading branch information...
1 parent 474ec34 commit b8b382f8e7f2e577d38650a5f73c74b01785e4fb Niles committed Aug 31, 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 b8b382f

Please sign in to comment.