Commit a0533737 authored by Côme Chilliet's avatar Côme Chilliet

Merge branch '6032-supann-diploma-sise-select-has-too-many-options' into '1.4-dev'

Resolve "SupAnn diploma SISE select has too many options"

See merge request fusiondirectory/fd-plugins!682
parents f4a18409 baca360a
......@@ -93,9 +93,9 @@ class SupannEtuInscriptionAttribute extends SupannCompositeAttribute
$this->diplomas = [];
foreach ($prefixedChoices as $prefix => $choices) {
[$choicesId, $choicesLines] = $choices;
list($choicesId, $choicesLines) = $choices;
foreach ($choicesId as $i => $id) {
[$type,$sectdisc,$label1,$label2] = $choicesLines[$i];
list($type,$sectdisc,$label1,$label2) = $choicesLines[$i];
if (!empty($label2)) {
$label1 .= ' - '.$label2;
}
......
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