$this->set_data('imagery-type', __('Aucune image envoyée', 'ccv'));
}
+ if (!empty($this->get_data('link-1')) || !empty($this->get_data('link-2')) ||
+ !empty($this->get_data('link-3')) || !empty($this->get_data('link-4')) ) {
+ $this->set_data('imagery-type', __('Lien web', 'ccv'));
+ }
+
// If the user didn't select the NAS upload option, there's no point including the NAS ID in the form data
// NOTE: This relies on the value of the field so make sure it is always the same in both places (consultation.blade.php)
if ($this->get_data('imagery-type') !== __('Images téléversées depuis portable', 'ccv')) {