]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-extensions.php
Bug fixed. See #106
[mailer.git] / inc / modules / admin / what-extensions.php
index 742ab1245634a3000a47df05d73236419da81229..6c55680ac2395048f65f52718cdec72c5cdea4d9 100644 (file)
@@ -85,8 +85,10 @@ if (REQUEST_ISSET_GET(('reg_ext'))) {
                                // Load mode is modify
                                $EXT_LOAD_MODE = "modify";
 
-                               // Update extension's record
+                               // Get entry for 'active'
                                $active = REQUEST_POST('active', $ext_id);
+
+                               // Update extension's record
                                if (GET_EXT_VERSION("sql_patches") >= "0.0.6") {
                                        // Update also CSS column when extensions sql_patches is newer or exact v0.0.6
                                        SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_extensions` SET ext_has_css='%s', ext_active='%s' WHERE id=%s LIMIT 1",