Fixed bug in EM: Insecure extensions were still displayed (patch by Karsten Dambekalns)
authorMichael Stucki <michael.stucki@typo3.org>
Tue, 20 Feb 2007 21:03:28 +0000 (21:03 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Tue, 20 Feb 2007 21:03:28 +0000 (21:03 +0000)
Fixed a typo in typo3/sysext/install/mod/class.tx_install.php

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-0@2058 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/tools/em/class.em_xmlhandler.php
typo3/sysext/install/mod/class.tx_install.php

index 22e153f..311ace6 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-20  Michael Stucki  <michael@typo3.org>
+
+       * Fixed bug in EM: Insecure extensions were still displayed (patch by Karsten Dambekalns)
+       * Fixed a typo in typo3/sysext/install/mod/class.tx_install.php
+
 2007-02-15  Michael Stucki  <michael@typo3.org>
 
        * Reverted fix for bug #4689 (closes #4987): Fix seems to cause problems, reinvestiation is needed
index 7a274f2..b31a572 100644 (file)
@@ -192,12 +192,11 @@ class SC_mod_tools_em_xmlhandler {
         * @return      void
         */
        function checkReviewState(&$extensions) {
-               if ($this->useUnchecked) return;
-
                reset($extensions);
                while (list($version, $data) = each($extensions))       {
-                       if($data['reviewstate']<1)
+                       if($data['reviewstate']<0 || (!$this->useUnchecked && $data['reviewstate']<1)) {
                                unset($extensions[$version]);
+                       }
                }
        }
 
@@ -207,12 +206,12 @@ class SC_mod_tools_em_xmlhandler {
         * @return      void
         */
        function checkReviewStateGlobal() {
-               if($this->useUnchecked) return;
-
                reset($this->extensionsXML);
                while (list($extkey, $data) = each($this->extensionsXML)) {
                        while (list($version, $vdata) = each($data['versions'])) {
-                               if($vdata['reviewstate']<1) unset($this->extensionsXML[$extkey]['versions'][$version]);
+                               if($vdata['reviewstate']<0 || (!$this->useUnchecked && $vdata['reviewstate']<1)) {
+                                       unset($this->extensionsXML[$extkey]['versions'][$version]);
+                               }
                        }
                        if(!count($this->extensionsXML[$extkey]['versions'])) unset($this->extensionsXML[$extkey]);
                }
index 8169bb2..07910a2 100755 (executable)
@@ -3828,7 +3828,7 @@ From sub-directory:
                                                'cache_pages' => 'Pages',
                                                'cache_pagesection' => 'TS template related information',
                                                'cache_hash' => 'Multipurpose md5-hash cache',
-+                                              'cache_imagesizes' => 'Cached image sizes',
+                                               'cache_imagesizes' => 'Cached image sizes',
                                                'sys_log' => 'Backend action logging',
                                                'sys_stat' => 'Page hit statistics',
                                                'sys_history' => 'Addendum to the sys_log which tracks ALL changes to content through TCE. May become huge by time. Is used for rollback (undo) and the WorkFlow engine.',