]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-extensions.php
'order_points' and locked are now displayed, some array elements/language ids renamed
[mailer.git] / inc / modules / admin / what-extensions.php
index e3f9daf36ae3a5531bae5d940cbfaf2e867cfcee..45cd7d59ca5920429be60096244a12c2f9819abc 100644 (file)
@@ -134,12 +134,12 @@ if (isGetRequestParameterSet('reg_ext')) {
 
                                // Load required data
                                if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) {
-                                       $result = SQL_QUERY_ESC("SELECT ext_has_css, ext_active FROM `{?_MYSQL_PREFIX?}_extensions` WHERE `id`=%s LIMIT 1",
+                                       $result = SQL_QUERY_ESC("SELECT `ext_has_css`, `ext_active` FROM `{?_MYSQL_PREFIX?}_extensions` WHERE `id`=%s LIMIT 1",
                                                array(bigintval($ext_id)), __FILE__, __LINE__);
                                        list($css, $active) = SQL_FETCHROW($result);
                                        SQL_FREERESULT($result);
                                } else {
-                                       $result = SQL_QUERY_ESC("SELECT ext_active FROM `{?_MYSQL_PREFIX?}_extensions` WHERE `id`=%s LIMIT 1",
+                                       $result = SQL_QUERY_ESC("SELECT `ext_active` FROM `{?_MYSQL_PREFIX?}_extensions` WHERE `id`=%s LIMIT 1",
                                                array(bigintval($ext_id)), __FILE__, __LINE__);
                                        list($active) = SQL_FETCHROW($result);
                                        SQL_FREERESULT($result);
@@ -198,7 +198,6 @@ if (isGetRequestParameterSet('reg_ext')) {
                        $content = array(
                                'id'       => $ext_id,
                                'ext_name' => $ext_name,
-                               'ext_ver'  => getExtensionVersion($ext_name),
                                'verbose'  => $VERBOSE_OUT
                        );
 
@@ -303,7 +302,9 @@ ORDER BY
                        while ($content = SQL_FETCHARRAY($result)) {
                                // Prepare CSS selection output
                                $cssSelection = '---';
-                               if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) $cssSelection = translateYesNo($content['ext_css']);
+                               if (isExtensionInstalledAndNewer('sql_patches', '0.0.6')) {
+                                       $cssSelection = translateYesNo($content['ext_css']);
+                               } // END - if
 
                                // Prepare data for the row template
                                $content['ext_css'] = $cssSelection;