Skip to content
Permalink
Browse files

Ask for db prefix only if it is not explicitly set (#3930) (#3931)

  • Loading branch information...
jensschulze authored and LOBsTerr committed Sep 19, 2018
1 parent 6e8f602 commit d1adc9d7a3bebb6fa27525de1d94c8022ad3dbe3
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Command/Site/InstallCommand.php
@@ -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);
}

0 comments on commit d1adc9d

Please sign in to comment.
You can’t perform that action at this time.