Commit 4820785f authored by kensae's avatar kensae Committed by Eirik Morland
Browse files

Issue #3272881 by kensae: Linkchecker causes migration to crash when no...

Issue #3272881 by kensae: Linkchecker causes migration to crash when no migration tags are available
parent e74d8ea6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -252,7 +252,7 @@ function linkchecker_migration_plugins_alter(array &$migrations) {
 * Implements hook_migrate_prepare_row().
 */
function linkchecker_migrate_prepare_row(Row $row, MigrateSourceInterface $source, MigrationInterface $migration) {
  if (!in_array('linkchecker', $migration->getMigrationTags())) {
  if (!$migration->getMigrationTags() || !in_array('linkchecker', $migration->getMigrationTags())) {
    return;
  }
  $supported_field_types = [