setCurrentExtensionName($ext_depend);
// Is the extension there?
- if (isExtensionInstalled()) {
+ if (isExtensionInstalled($ext_depend)) {
// Update another extension first!
$test = updateExtension($ext_depend, getExtensionVersion($ext_depend), getExtensionDryRun());
} else {