diff options
Diffstat (limited to 'core/command')
-rw-r--r-- | core/command/db/converttype.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php index 4f3afb949e7..809374950d3 100644 --- a/core/command/db/converttype.php +++ b/core/command/db/converttype.php @@ -93,8 +93,8 @@ class ConvertType extends Command { } protected function validateInput(InputInterface $input, OutputInterface $output) { - $type = $input->getArgument('type'); - if ($this->connectionFactory->normalizeType($type) === 'sqlite3') { + $type = $this->connectionFactory->normalizeType($input->getArgument('type')); + if ($type === 'sqlite3') { throw new \InvalidArgumentException( 'Converting to SQLite (sqlite3) is currently not supported.' ); |