test
This commit is contained in:
parent
26bf1baa81
commit
2726b158b5
@ -40,7 +40,7 @@ class schulze
|
||||
|
||||
function votify(&$votes)
|
||||
{
|
||||
array_flip($vote);
|
||||
array_flip($votes);
|
||||
foreach($votes as $vote)
|
||||
{
|
||||
$vote["vote"] = explode("/", $vote["vote"]);
|
||||
@ -73,7 +73,7 @@ class schulze
|
||||
{
|
||||
echo "non egal\n";
|
||||
print_r($w);
|
||||
$w[$v[i+1]] = 1;
|
||||
$w[$v[$i+1]] = 1;
|
||||
}
|
||||
}
|
||||
$w = $this->votify($w);
|
||||
|
Reference in New Issue
Block a user