summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-05-30 01:48:38 +0000
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-05-30 01:48:38 +0000
commitcbb2a993d4644871aff1db8218f69beb701684a7 (patch)
tree01c8f2da3c50eb51135b862b7fefbd1d327228bf
parentb8d34b085b197ac67b498b5b0b969940e30c3fdf (diff)
downloadcacert-boardvoting-cbb2a993d4644871aff1db8218f69beb701684a7.tar.gz
cacert-boardvoting-cbb2a993d4644871aff1db8218f69beb701684a7.tar.xz
cacert-boardvoting-cbb2a993d4644871aff1db8218f69beb701684a7.zip
deadlocks don't pass
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@50 d4452222-2f33-11de-9270-010000000000
-rw-r--r--database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/database.php b/database.php
index a47b2b3..30ba66a 100644
--- a/database.php
+++ b/database.php
@@ -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;