diff --git a/src/Plugin/migrate/process/Transpose.php b/src/Plugin/migrate/process/Transpose.php index 55ddd549704e5fe8c852b609da16689a35fff439..6f88b5ea6fdb9c3ba86886a9f3af3a648d7d2390 100644 --- a/src/Plugin/migrate/process/Transpose.php +++ b/src/Plugin/migrate/process/Transpose.php @@ -36,7 +36,7 @@ class Transpose extends ProcessPluginBase { */ public function transform($table, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) { // Make sure that $table is an array of arrays. - if (!is_array($table)) { + If (!is_array($table) || $table == []) { return []; } foreach ($table as &$value) {