Skip to content
Snippets Groups Projects
Commit d89dbcd4 authored by Benji Fisher's avatar Benji Fisher Committed by Lucas Hedding
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 7ef8c534
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ class Transpose extends ProcessPluginBase { ...@@ -36,7 +36,7 @@ class Transpose extends ProcessPluginBase {
*/ */
public function transform($table, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) { public function transform($table, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) {
// Make sure that $table is an array of arrays. // Make sure that $table is an array of arrays.
If (!is_array($table) || $table == []) { if (!is_array($table) || $table == []) {
return []; return [];
} }
foreach ($table as &$value) { foreach ($table as &$value) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment