@@ -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); |
@@ -179,11 +179,11 @@ |
||
| 179 | 179 | |
| 180 | 180 | $updateOption->setPollOptionText(trim(htmlspecialchars($option['pollOptionText']))); |
| 181 | 181 | $updateOption->setTimestamp($option['timestamp']); |
| 182 | - $updateOption->setOrder($option['timestamp'],$option['order']); |
|
| 182 | + $updateOption->setOrder($option['timestamp'], $option['order']); |
|
| 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 | |
@@ -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 | |