diff options
author | provokateurin <kate@provokateurin.de> | 2025-01-29 11:50:53 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-01-30 10:50:16 +0000 |
commit | 279b9ca3ad37842c9da406919d06d4cf9fd6ea2b (patch) | |
tree | 730602882ce380f5fc0d6200db019e0acb8ffa6c /core/Command | |
parent | 8a6d9ffdc100d1e8de2d8ae0296970ce0d1b3f52 (diff) | |
download | nextcloud-server-backport/50530/stable31.tar.gz nextcloud-server-backport/50530/stable31.zip |
fix(ConvertType): Read hostname from arguments and not optionsbackport/50530/stable31
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Db/ConvertType.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php index d7b0673e052..b5d1b9b9330 100644 --- a/core/Command/Db/ConvertType.php +++ b/core/Command/Db/ConvertType.php @@ -236,7 +236,7 @@ class ConvertType extends Command implements CompletionAwareInterface { } // parse hostname for unix socket - if (preg_match('/^(.+)(:(\d+|[^:]+))?$/', $input->getOption('hostname'), $matches)) { + if (preg_match('/^(.+)(:(\d+|[^:]+))?$/', $input->getArgument('hostname'), $matches)) { $connectionParams['host'] = $matches[1]; if (isset($matches[3])) { if (is_numeric($matches[3])) { |