Merge pull request #3319 from desyncr/bugfix/missing-default-author-value-validation
Fix missing validation on default value for author inputpull/3357/head
commit
4bdd7adc55
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue