From cbb2a993d4644871aff1db8218f69beb701684a7 Mon Sep 17 00:00:00 2001 From: "community.cacert.org" Date: Sat, 30 May 2009 01:48:38 +0000 Subject: [PATCH] deadlocks don't pass git-svn-id: http://svn.cacert.cl/Software/Voting/vote@50 d4452222-2f33-11de-9270-010000000000 --- database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;