Skip to content

Commit

Permalink
Bugfix in PollController
Browse files Browse the repository at this point in the history
  • Loading branch information
Toxantron committed Feb 11, 2017
1 parent bff9aff commit 6b847d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/poll-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private function placeVote($sessionId, $memberId, $voteValue)

// Evaluate the poll
$this->evaluatePoll($session, $currentPoll);
if($currentPoll->getResult() > 0)
if($currentPoll->getResult() >= 0)
$this->highlightVotes($session, $currentPoll);

// Save all to db
Expand Down

0 comments on commit 6b847d5

Please sign in to comment.