summaryrefslogtreecommitdiff
path: root/core/controllers/welcome.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/controllers/welcome.php')
-rw-r--r--core/controllers/welcome.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php
index d6c40850..b253f13f 100644
--- a/core/controllers/welcome.php
+++ b/core/controllers/welcome.php
@@ -425,12 +425,13 @@ class Welcome_Controller extends Template_Controller {
$modules = module::available();
try {
foreach (module::installed() as $installed_module) {
- $modules[$installed_module->name] = $installed_module->version;
+ $modules->$installed_module->version = $installed_module->version;
}
} catch (Exception $e) {
// The database may not be installed
}
ksort($modules);
+
return $modules;
}