@@ -189,7 +189,7 @@ |
||
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | if ($this->acl->getAllowSeeUsernames()) { |
| 192 | - $comments = $this->commentMapper->findByPoll($pollId); |
|
| 192 | + $comments = $this->commentMapper->findByPoll($pollId); |
|
| 193 | 193 | |
| 194 | 194 | if ($this->acl->getAllowSeeResults()) { |
| 195 | 195 | $votes = $this->voteMapper->findByPoll($pollId); |
@@ -183,7 +183,7 @@ |
||
| 183 | 183 | |
| 184 | 184 | if ($option['confirmed']) { |
| 185 | 185 | // do not update confirmation date, if option is already confirmed |
| 186 | - if (!$updateOption->getConfirmed()){ |
|
| 186 | + if (!$updateOption->getConfirmed()) { |
|
| 187 | 187 | $updateOption->setConfirmed(time()); |
| 188 | 188 | } |
| 189 | 189 | |
@@ -190,7 +190,7 @@ |
||
| 190 | 190 | |
| 191 | 191 | if ($option['confirmed']) { |
| 192 | 192 | // do not update confirmation date, if option is already confirmed |
| 193 | - if (!$updateOption->getConfirmed()){ |
|
| 193 | + if (!$updateOption->getConfirmed()) { |
|
| 194 | 194 | $updateOption->setConfirmed(time()); |
| 195 | 195 | } |
| 196 | 196 | |