Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 8e78cef

Browse files
author
Jamie Snape
committed
Another fix
1 parent 86fe1e8 commit 8e78cef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/controllers/AdminController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ public function upgradeAction()
306306
$upgraded = false;
307307
foreach ($modulesConfig as $key => $module) {
308308
$this->Component->Upgrade->initUpgrade($key, $db, $dbtype);
309-
if ($this->Component->Upgrade->upgrade($module->version)) {
309+
$currentModuleVersion = UtilityComponent::getCurrentModuleVersion($key);
310+
if ($this->Component->Upgrade->upgrade($currentModuleVersion)) {
310311
$upgraded = true;
311312
}
312313
}

0 commit comments

Comments
 (0)