]> git.mxchange.org Git - mailer.git/commitdiff
Fix for 'extension sql_patches has empty version' message
authorRoland Häder <roland@mxchange.org>
Tue, 27 Oct 2009 20:20:18 +0000 (20:20 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 27 Oct 2009 20:20:18 +0000 (20:20 +0000)
inc/modules/admin/what-extensions.php

index 5c5ca685c361ae03f7462bc45bd873ffff19050f..c6cecbd8e5018277abf7d9b751f73b1224e982ba 100644 (file)
@@ -246,7 +246,7 @@ if (isGetRequestElementSet(('active'))) {
 // Case selection
 switch ($do) {
        case 'overview': // List all registered extensions
-               if (getExtensionVersion('sql_patches') >= '0.0.6') {
+               if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) {
                        // Load extension data with CSS informations
                        $result = SQL_QUERY("SELECT `id` AS ext_id, `ext_name`, `ext_active`, `ext_has_css` AS ext_css, `ext_version`
 FROM `{?_MYSQL_PREFIX?}_extensions`