Skip to content

Commit

Permalink
changed condition for displaying votes [note #30 - way too many queri…
Browse files Browse the repository at this point in the history
…es!]
  • Loading branch information
teo-sk committed Aug 13, 2012
1 parent fa9d568 commit 43beafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Poll.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function render($template = null, $theme = null)
'alreadyAnswered' => $alreadyAnswered
);

if ($alreadyAnswered) {
if ($this->poll->isAnswersVisible()) {
$fields = $this->poll->getFields();
$fieldCount = array();

Expand Down

0 comments on commit 43beafa

Please sign in to comment.