Commit 6f709e85 authored by Théo GUILLON's avatar Théo GUILLON
Browse files

Correction : affichage champs sans l'option "repeat"

parent 6588da7d
......@@ -26,10 +26,14 @@ foreach ($champs as $key => $value) {
$test = false;
}
if ($details['repeat'] == true) {
$fieldRepeat = "fieldRepeat";
if (isset($details['repeat'])) {
if ($details['repeat'] == true) {
$fieldRepeat = "fieldRepeat";
} else {
$fieldRepeat = "fieldNoRepeat";
}
} else {
$fieldRepeat = "fieldNoRepeat";
$fieldRepeat = '';
}
if (!isset($details['conditions'])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment