diff --git a/cake/libs/http_socket.php b/cake/libs/http_socket.php index b1df3f25dc8..ba56034bd55 100644 --- a/cake/libs/http_socket.php +++ b/cake/libs/http_socket.php @@ -539,7 +539,7 @@ protected function _setAuth() { if (!method_exists($authClass, 'authentication')) { throw new SocketException(sprintf(__('The %s do not support authentication.'), $authClass)); } - call_user_func("$authClass::authentication", $this, &$this->_auth[$method]); + call_user_func("$authClass::authentication", $this, $this->_auth[$method]); } /** @@ -565,7 +565,7 @@ protected function _setProxy() { if (!method_exists($authClass, 'proxyAuthentication')) { throw new SocketException(sprintf(__('The %s do not support proxy authentication.'), $authClass)); } - call_user_func("$authClass::proxyAuthentication", $this, &$this->_proxy); + call_user_func("$authClass::proxyAuthentication", $this, $this->_proxy); } /**