Skip to content

Commit

Permalink
[BUGFIX] Prevent null value for flexform string
Browse files Browse the repository at this point in the history
Related: #926
  • Loading branch information
mschwemer committed Aug 9, 2024
1 parent b6e6865 commit 12663f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Classes/Update/PowermailPluginUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ public function performMigration(string $list_type): bool
}
} else {
$targetCType = 'powermail_pi1';
$newFlexform = $record['pi_flexform'];
}
$newFlexform = $record['pi_flexform'] ?? ''; }

// Remove flexform data which do not exist in flexform of new plugin
$this->updateContentElement($record['uid'], $targetCType, (string)$newFlexform);
Expand Down

0 comments on commit 12663f9

Please sign in to comment.