Skip to content

Commit

Permalink
Ask for db prefix only if it is not explicitly set (#3930) (#3931)
Browse files Browse the repository at this point in the history
  • Loading branch information
jensschulze authored and LOBsTerr committed Sep 19, 2018
1 parent 6e8f602 commit d1adc9d
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 d1adc9d

Please sign in to comment.