diff --git a/methods/schulzeResults.php b/methods/schulzeResults.php index 928bd94..6444036 100644 --- a/methods/schulzeResults.php +++ b/methods/schulzeResults.php @@ -40,6 +40,7 @@ class schulze function votify(&$votes) { + array_flip($vote); foreach($votes as $vote) { $vote["vote"] = explode("/", $vote["vote"]);