diff --git a/lib/Cake/View/View.php b/lib/Cake/View/View.php index a671993f4..e5234d44e 100644 --- a/lib/Cake/View/View.php +++ b/lib/Cake/View/View.php @@ -565,9 +565,6 @@ class View extends Object { unset($out); return false; } else { - if ($this->layout === 'xml') { - $response->type('xml'); - } return substr($out, strlen($match[0])); } }