diff --git a/lib/Cake/Console/Shell.php b/lib/Cake/Console/Shell.php index 2e1bd59e2..9d2ba2950 100644 --- a/lib/Cake/Console/Shell.php +++ b/lib/Cake/Console/Shell.php @@ -389,7 +389,7 @@ class Shell extends Object { $format = 'text'; if (!empty($this->args[0]) && $this->args[0] == 'xml') { $format = 'xml'; - $this->output->outputAs(ConsoleOutput::RAW); + $this->stdout->outputAs(ConsoleOutput::RAW); } else { $this->_welcome(); }