add missing underscore to _decodeBody.

This commit is contained in:
Niles 2009-08-31 10:36:31 -04:00
parent 474ec34a5d
commit b8b382f8e7

View file

@ -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) {