1
0
This commit is contained in:
Daniel Tartavel 2022-09-23 21:46:09 +02:00
parent 2726b158b5
commit 51d2790670

View File

@ -38,9 +38,9 @@ class schulze
return $r; return $r;
} }
function votify(&$votes) function votify(&$v)
{ {
array_flip($votes); $votes = array_flip($v);
foreach($votes as $vote) foreach($votes as $vote)
{ {
$vote["vote"] = explode("/", $vote["vote"]); $vote["vote"] = explode("/", $vote["vote"]);