Unverified Commit cb32dca7 authored by larowlan's avatar larowlan
Browse files

Issue #3240959 by andypost, alexpott:...

Issue #3240959 by andypost, alexpott: \Drupal\migrate_drupal_ui\Form\ReviewForm::prepareOutput() causes deprecations on PHP 8.1
parent 0247f921
......@@ -284,7 +284,10 @@ public function getConfirmText() {
protected function prepareOutput(array $migration_state) {
$output = [];
foreach ($migration_state as $source_machine_name => $destination_modules) {
$data = unserialize($this->systemData['module'][$source_machine_name]['info']);
$data = NULL;
if (isset($this->systemData['module'][$source_machine_name]['info'])) {
$data = unserialize($this->systemData['module'][$source_machine_name]['info']);
}
$source_module_name = $data['name'] ?? $source_machine_name;
// Get the names of all the destination modules.
$destination_module_names = [];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment