Skip to content

Commit

Permalink
Bug #20049: unset the xml switch instead of setting it to false.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Opitz committed Aug 22, 2013
1 parent 2c64b4f commit ee1b4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VersionControl/SVN/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ protected function preProcessSwitches()
) {
$this->switches['xml'] = true;
} else {
$this->switches['xml'] = false;
unset($this->switches['xml']);
}

$this->switches['non-interactive'] = true;
Expand Down

1 comment on commit ee1b4bf

@CloCkWeRX
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Howdy - why would you do this in particular? Surely other places would simply check if switches['xml'] is empty() ?

Please sign in to comment.