diff --git a/cake/libs/http_socket.php b/cake/libs/http_socket.php index da67a28ab..8ae54948c 100644 --- a/cake/libs/http_socket.php +++ b/cake/libs/http_socket.php @@ -459,7 +459,7 @@ class HttpSocket extends CakeSocket { if (!App::import('Lib', 'http/' . $authClass)) { throw new Exception(__('Unknown authentication method.')); } - $authClass::authentication($this); + call_user_func("$authClass::authentication", $this); } /**