From b8b382f8e7f2e577d38650a5f73c74b01785e4fb Mon Sep 17 00:00:00 2001 From: Niles Date: Mon, 31 Aug 2009 10:36:31 -0400 Subject: [PATCH] add missing underscore to _decodeBody. --- cake/libs/http_socket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/http_socket.php b/cake/libs/http_socket.php index b2af778a7..8367ce6b3 100644 --- a/cake/libs/http_socket.php +++ b/cake/libs/http_socket.php @@ -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) {