summaryrefslogtreecommitdiffstats
path: root/core/command/encryption
diff options
context:
space:
mode:
Diffstat (limited to 'core/command/encryption')
-rw-r--r--core/command/encryption/listmodules.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/command/encryption/listmodules.php b/core/command/encryption/listmodules.php
index d55480def87..cc436ea5629 100644
--- a/core/command/encryption/listmodules.php
+++ b/core/command/encryption/listmodules.php
@@ -65,7 +65,7 @@ class ListModules extends Base {
* @param array $items
*/
protected function writeModuleList(InputInterface $input, OutputInterface $output, $items) {
- if ($input->getOption('output') === 'plain') {
+ if ($input->getOption('output') === self::OUTPUT_FORMAT_PLAIN) {
array_walk($items, function(&$item) {
if (!$item['default']) {
$item = $item['displayName'];