diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-07-11 10:03:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 10:03:27 +0200 |
commit | 5f029e6136fd384634107f46105410bd75363e37 (patch) | |
tree | e1cd85030c17fb5ef1eb5cb688b49ad80a3a5928 | |
parent | 9d3a4b428dd4be2d61c6019cea529c24cbcf9ca6 (diff) | |
parent | 03a6b2b49accc8ff0780463f5f43defb9ebb0fb4 (diff) | |
download | nextcloud-server-5f029e6136fd384634107f46105410bd75363e37.tar.gz nextcloud-server-5f029e6136fd384634107f46105410bd75363e37.zip |
Merge pull request #10185 from nextcloud/backport/10161/correctly-handle-users-with-numeric-user-ids-13
[stable13] Correctly handle users with numeric user ids
-rw-r--r-- | core/Command/Base.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/Base.php b/core/Command/Base.php index 15878a807d8..5bc06678706 100644 --- a/core/Command/Base.php +++ b/core/Command/Base.php @@ -23,6 +23,7 @@ namespace OC\Core\Command; +use OC\Core\Command\User\ListCommand; use Stecman\Component\Symfony\Console\BashCompletion\Completion\CompletionAwareInterface; use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext; use Symfony\Component\Console\Command\Command; @@ -76,7 +77,7 @@ class Base extends Command implements CompletionAwareInterface { $this->writeArrayInOutputFormat($input, $output, $item, ' ' . $prefix); continue; } - if (!is_int($key)) { + if (!is_int($key) || ListCommand::class === get_class($this)) { $value = $this->valueToString($item); if (!is_null($value)) { $output->writeln($prefix . $key . ': ' . $value); |