[BUGFIX] Don't download language packs of not loaded extensions
[Packages/TYPO3.CMS.git] / typo3 / sysext / lang / Classes / Domain / Repository / ExtensionRepository.php
index 13fbb5d..da116d3 100644 (file)
@@ -65,6 +65,9 @@ class ExtensionRepository
         if (empty($this->extensions)) {
             $extensions = $this->listUtility->getAvailableAndInstalledExtensionsWithAdditionalInformation();
             foreach ($extensions as $entry) {
+                if (empty($entry['installed']) || $entry['installed'] !== true) {
+                    continue;
+                }
                 /** @var $extension \TYPO3\CMS\Lang\Domain\Model\Extension */
                 $extension = $this->objectManager->get(
                     Extension::class,