Skip to content

Commit 40fda93

Browse files
committed
Bugfix issue issues#60
1 parent 3ec77e1 commit 40fda93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Classes/Updates/SwitchableControllerActionsPluginUpdater.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ public function performMigration(): bool
113113
foreach ($records as $record) {
114114
$flexFormData = GeneralUtility::xml2array($record['pi_flexform']);
115115
$flexForm = $this->flexFormService->convertFlexFormContentToArray($record['pi_flexform']);
116+
if (!is_array($flexForm)) {
117+
$flexForm = [];
118+
}
119+
if (!isset($flexForm['switchableControllerActions'])) {
120+
$flexForm['switchableControllerActions'] = '';
121+
}
116122
$targetListType = $this->getTargetListType(
117123
$record['list_type'],
118124
$flexForm['switchableControllerActions']

0 commit comments

Comments
 (0)