Skip to content

Commit

Permalink
fix: allow empty db-prefix (#4189)
Browse files Browse the repository at this point in the history
Empty --db-prefix must not provoke db-prefix question

Issue: #4189
  • Loading branch information
jensschulze authored and enzolutions committed Nov 7, 2019
1 parent 83df937 commit 73453aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Site/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ function ($profile) {
}

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

0 comments on commit 73453aa

Please sign in to comment.