X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-extensions.php;h=6c55680ac2395048f65f52718cdec72c5cdea4d9;hp=2a86e83052176a845636d7aa0a17a4998f0bc1c9;hb=f39ec6e67b8a43bfa91212f0c6bd1c52e707f896;hpb=4001187f22197f55e5a1f211fc8defcc180f7c32 diff --git a/inc/modules/admin/what-extensions.php b/inc/modules/admin/what-extensions.php index 2a86e83052..6c55680ac2 100644 --- a/inc/modules/admin/what-extensions.php +++ b/inc/modules/admin/what-extensions.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * 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__);