From 2abf1ab70c824b92934910d9f5da3c37fe089c47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 27 Oct 2009 20:20:18 +0000 Subject: [PATCH] Fix for 'extension sql_patches has empty version' message --- inc/modules/admin/what-extensions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/modules/admin/what-extensions.php b/inc/modules/admin/what-extensions.php index 5c5ca685c3..c6cecbd8e5 100644 --- a/inc/modules/admin/what-extensions.php +++ b/inc/modules/admin/what-extensions.php @@ -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` -- 2.39.5