diff --git a/methods/schulzeResults.php b/methods/schulzeResults.php index 22b8f6a..69e7f1a 100644 --- a/methods/schulzeResults.php +++ b/methods/schulzeResults.php @@ -67,13 +67,14 @@ class schulze if ($s == $v[$i+1]) { echo "egal\n"; - print_r($w); $w[$s] += 1; + print_r($w); + }else { echo "non egal\n"; - print_r($w); $w[$v[$i+1]] = 1; + print_r($w); } } $w = $this->votify($w);