1
0
Fork 0

Merge pull request #3319 from desyncr/bugfix/missing-default-author-value-validation

Fix missing validation on default value for author input
pull/3357/head
Jordi Boggiano 2014-10-15 13:33:30 +01:00
commit 4bdd7adc55
1 changed files with 1 additions and 4 deletions

View File

@ -228,10 +228,7 @@ EOT
$output,
$dialog->getQuestion('Author', $author),
function ($value) use ($self, $author) {
if (null === $value) {
return $author;
}
$value = $value ?: $author;
$author = $self->parseAuthorString($value);
return sprintf('%s <%s>', $author['name'], $author['email']);