mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing issues output xml help.
This commit is contained in:
parent
5d3c470871
commit
2f079b33dd
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ class Shell extends Object {
|
||||||
$format = 'text';
|
$format = 'text';
|
||||||
if (!empty($this->args[0]) && $this->args[0] == 'xml') {
|
if (!empty($this->args[0]) && $this->args[0] == 'xml') {
|
||||||
$format = 'xml';
|
$format = 'xml';
|
||||||
$this->output->outputAs(ConsoleOutput::RAW);
|
$this->stdout->outputAs(ConsoleOutput::RAW);
|
||||||
} else {
|
} else {
|
||||||
$this->_welcome();
|
$this->_welcome();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue