summaryrefslogtreecommitdiffstats
path: root/core/command/app
diff options
context:
space:
mode:
Diffstat (limited to 'core/command/app')
-rw-r--r--core/command/app/listapps.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/command/app/listapps.php b/core/command/app/listapps.php
index 37a1d645ed4..e30baddb745 100644
--- a/core/command/app/listapps.php
+++ b/core/command/app/listapps.php
@@ -55,12 +55,12 @@ class ListApps extends Base {
sort($enabledApps);
foreach ($enabledApps as $app) {
- $apps['enabled'][$app] = (isset($versions[$app])) ? $versions[$app] : '';
+ $apps['enabled'][$app] = (isset($versions[$app])) ? $versions[$app] : true;
}
sort($disabledApps);
foreach ($disabledApps as $app) {
- $apps['disabled'][$app] = (isset($versions[$app])) ? $versions[$app] : '';
+ $apps['disabled'][$app] = null;
}
$this->writeAppList($input, $output, $apps);