diff --git a/cake/libs/controller/components/request_handler.php b/cake/libs/controller/components/request_handler.php index 917f42ad8..6b69bde6a 100644 --- a/cake/libs/controller/components/request_handler.php +++ b/cake/libs/controller/components/request_handler.php @@ -480,7 +480,6 @@ class RequestHandlerComponent extends Component { return ($types[0] == $accepts[0]); } - $intersect = array_values(array_intersect($accepts, $types)); if (empty($intersect)) { return false;