diff --git a/src/Controller/MetadataProfileController.php b/src/Controller/MetadataProfileController.php index e7a5087..18a8154 100644 --- a/src/Controller/MetadataProfileController.php +++ b/src/Controller/MetadataProfileController.php @@ -1188,6 +1188,7 @@ class MetadataProfileController extends ControllerBase { } $bundle_config = NULL; $target_bundles = $setting['target_bundles']; + $bundle_config = NULL; foreach ($target_bundles as $index => $bundle) { if ($handler == 'default:taxonomy_term') { $bundle_config = $this->entityTypeManager()