Skip to content

Commit

Permalink
[BUGFIX] Fix notice if type is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer authored Jul 5, 2023
1 parent ee3b366 commit 4fde852
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Classes/Provider/ExtensionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ public function get(array $data)

$emConfUtility = GeneralUtility::makeInstance(EmConfUtility::class);
foreach ($allExtensions as $key => $f) {
$extensionConfig = $emConfUtility->includeEmConf($key, $f['packagePath']);
if ($extensionConfig['type'] === 'System') {
$extensionConfig = (array)$emConfUtility->includeEmConf($key, $f['packagePath']);
if (($extensionConfig['type'] ?? '') === 'System' || ($extensionConfig['author'] ?? '') === 'TYPO3 Core Team') {
continue;
}

$data['extensions'][$key] = $extensionConfig;
$data['extensions'][$key]['isLoaded'] = (int)ExtensionManagementUtility::isLoaded($key);
}
Expand Down

0 comments on commit 4fde852

Please sign in to comment.