From 51d27906708a4d57c979e705a8f96396ee6658c9 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 23 Sep 2022 21:46:09 +0200 Subject: [PATCH] test --- methods/schulzeResults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/methods/schulzeResults.php b/methods/schulzeResults.php index 89eab12..478fc95 100644 --- a/methods/schulzeResults.php +++ b/methods/schulzeResults.php @@ -38,9 +38,9 @@ class schulze return $r; } - function votify(&$votes) + function votify(&$v) { - array_flip($votes); + $votes = array_flip($v); foreach($votes as $vote) { $vote["vote"] = explode("/", $vote["vote"]);