Fixing method names that were omitted when methods were renamed. Thanks 'NetersLandreau'

This commit is contained in:
mark_story 2009-09-01 10:45:52 -04:00
parent 4d458e93b6
commit 4ff668b3ed

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