deadlocks don't pass
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Sat, 30 May 2009 01:48:38 +0000 (01:48 +0000)
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Sat, 30 May 2009 01:48:38 +0000 (01:48 +0000)
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@50 d4452222-2f33-11de-9270-010000000000

database.php

index a47b2b3..30ba66a 100644 (file)
@@ -37,7 +37,7 @@
                                                $decision['status'] = -1;
                                        } else {
                                                $votes = $decision['ayes'] + $decision['nayes'];
-                                               if (($decision['ayes'] / $votes) >= ($decision['majority'] / 100)) {
+                                               if (($decision['ayes'] / $votes) > ($decision['majority'] / 100)) {
                                                        $decision['status'] = 1;
                                                } else {
                                                        $decision['status'] = -1;