diff --git a/module/form/form.php b/module/form/form.php index 8a6ac84b..a8c21c62 100644 --- a/module/form/form.php +++ b/module/form/form.php @@ -313,7 +313,7 @@ class form extends common { default: $filter = helper::FILTER_STRING_SHORT; } - $value = $this->getInput('formInput[' . $index . ']', $filter, $input['required']); + $value = $this->getInput('formInput[' . $index . ']', $filter, $input['required']) === true ? 'X' : $this->getInput('formInput[' . $index . ']', $filter, $input['required']); // Préparation des données pour la création dans la base $data[$this->getData(['module', $this->getUrl(0), 'input', $index, 'name'])] = $value; // Préparation des données pour le mail