Skip to content

Commit

Permalink
Ask for db prefix only if it is not explicitly set (#3930)
Browse files Browse the repository at this point in the history
  • Loading branch information
jensschulze committed Sep 16, 2018
1 parent 6e8f602 commit e62a1fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/Site/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ function ($profile) {
}
}

// --db-prefix
// --db-prefix option
$dbPrefix = $input->getOption('db-prefix');
if (!$dbPrefix) {
if ($dbPrefix === null) {
$dbPrefix = $this->dbPrefixQuestion();
$input->setOption('db-prefix', $dbPrefix);
}
Expand Down

0 comments on commit e62a1fe

Please sign in to comment.