]> 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 2a86e83052176a845636d7aa0a17a4998f0bc1c9..6c55680ac2395048f65f52718cdec72c5cdea4d9 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Erweiterungen-Management                         *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -80,9 +85,11 @@ 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);
-                               if (GET_EXT_VERSION("sql_patches") >= "0.0.6")  {
+
+                               // 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",
                                                array(REQUEST_POST('css', $ext_id), $active, $ext_id), __FILE__, __LINE__);