Fixes for installation phase
[mailer.git] / inc / extensions-functions.php
index 359b09fe45e45d5a3ae7bd93e0279d4c48b2a8a1..daac4a821839455afe07eb3d7bca7ec1fbee2067 100644 (file)
@@ -614,7 +614,7 @@ function updateExtension ($ext_name, $ext_ver, $dry_run = false) {
                                        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 {