diff options
author | provokateurin <kate@provokateurin.de> | 2025-01-29 11:50:53 +0100 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2025-01-30 09:24:58 +0100 |
commit | d8cc8aae1af99178cb6f52ef666a5a26509040d0 (patch) | |
tree | ff8acc4ec7814cee54a28a8c066e8399a50803d1 | |
parent | cf5d55edb7501fcd8f28ec65986d0ee85c05d53a (diff) | |
download | nextcloud-server-fix/convert-type.tar.gz nextcloud-server-fix/convert-type.zip |
fix(ConvertType): Read hostname from arguments and not optionsfix/convert-type
Signed-off-by: provokateurin <kate@provokateurin.de>
-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])) { |