diff --git a/src/Plugin/Action/AmiStrawberryfieldCSVexport.php b/src/Plugin/Action/AmiStrawberryfieldCSVexport.php index 0b8a15b..1787307 100644 --- a/src/Plugin/Action/AmiStrawberryfieldCSVexport.php +++ b/src/Plugin/Action/AmiStrawberryfieldCSVexport.php @@ -405,7 +405,7 @@ protected function sendToFile($output) { ['@url' => $url->toString()])); } } - else if (!$this->context['sandbox']['ado_type_exists']) { + else if ($this->configuration['create_ami_set'] && !$this->context['sandbox']['ado_type_exists']) { $this->messenger() ->addStatus($this->t('AMI Set could not be created because object(s) are missing the type key.')); }