Skip to content

Commit

Permalink
Undefined array key
Browse files Browse the repository at this point in the history
After deleting a relation wire I got this error:
Extension could not be saved: PHP Warning: Undefined array key 22 in /html/typo3/typo3conf/ext/extension_builder/Classes/Configuration/ExtensionBuilderConfigurationManager.php line 431
  • Loading branch information
ste101 authored Feb 29, 2024
1 parent d2488fc commit fe00bf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ protected function findModuleIndexByRelationUid(
return $result;
}

if ($modules[$supposedModuleIndex]['value']['relationGroup']['relations'][$supposedRelationIndex]['uid'] === $uid) {
if (isset($modules[$supposedModuleIndex]['value']['relationGroup']['relations'][$supposedRelationIndex]['uid']) && $modules[$supposedModuleIndex]['value']['relationGroup']['relations'][$supposedRelationIndex]['uid'] === $uid) {
$result['terminal'] = 'relationWire_' . $supposedRelationIndex;
return $result;
}
Expand Down

0 comments on commit fe00bf6

Please sign in to comment.