diff options
Diffstat (limited to 'cli/user-info.php')
| -rwxr-xr-x | cli/user-info.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/user-info.php b/cli/user-info.php index 582d10431..f338cbc17 100755 --- a/cli/user-info.php +++ b/cli/user-info.php @@ -26,10 +26,10 @@ if (empty($options['user'])) { sort($users); $formatJson = isset($options['json']); +$jsonOutput = []; if ($formatJson) { unset($options['header']); unset($options['h']); - $jsonOutput = []; } if (array_key_exists('header', $options)) { |
