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