Fixed bug #4822 in EM
authorKarsten Dambekalns <karsten.dambekalns@typo3.org>
Fri, 16 Feb 2007 16:03:08 +0000 (16:03 +0000)
committerKarsten Dambekalns <karsten.dambekalns@typo3.org>
Fri, 16 Feb 2007 16:03:08 +0000 (16:03 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2044 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/mod/tools/em/class.em_index.php

index 547e8d4..c0e18fd 100644 (file)
@@ -858,7 +858,8 @@ EXTENSION KEYS:
                                        if (count($this->inst_keys))    {
                                                reset($this->inst_keys);
                                                while(list($extKey)=each($this->inst_keys))     {
-                                                       if(strlen($this->listRemote_search) && !stristr($extKey,$this->listRemote_search)) continue;
+                                                       $this->xmlhandler->searchExtensionsXML($extKey, '', '', true);
+                                                       if((strlen($this->listRemote_search) && !stristr($extKey,$this->listRemote_search)) || isset($this->xmlhandler->extensionsXML[$extKey])) continue;      
 
                                                        $loadUnloadLink = t3lib_extMgm::isLoaded($extKey)?
                                                        '<a href="'.htmlspecialchars('index.php?CMD[showExt]='.$extKey.'&CMD[remove]=1&CMD[clrCmd]=1&SET[singleDetails]=info').'">'.$this->removeButton().'</a>':