diff --git a/agt/ballotagent/vote.go b/agt/ballotagent/vote.go index 0bb7f8746a471a7f309f2e88c7ae355f59c25c16..0d9a1426366d863fd00fe5d544d4998292fa775d 100644 --- a/agt/ballotagent/vote.go +++ b/agt/ballotagent/vote.go @@ -92,7 +92,7 @@ func (rsa *BallotServerAgent) receiveVote(w http.ResponseWriter, r *http.Request // Register the vote ballot.profile = append(ballot.profile, intToAlt(req.Prefs)) if len(req.Options) != 0 { - ballot.options = append(ballot.options, req.Options[0]) + ballot.options = append(ballot.options, req.Options) } // On elève l'agent de la liste des agents votants for i, agt := range ballot.votersId {