@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | $this->eventMapper->update($newEvent); |
| 232 | 232 | $this->optionsMapper->deleteByPoll($newEvent->getId()); |
| 233 | 233 | |
| 234 | - } else if ($mode === 'create'){ |
|
| 234 | + } else if ($mode === 'create') { |
|
| 235 | 235 | $newEvent = $this->eventMapper->insert($newEvent); |
| 236 | 236 | /* $ins = $this->eventMapper->insert($newEvent); |
| 237 | 237 | $newEvent->setId($ins->getId()); |
@@ -258,6 +258,6 @@ discard block |
||
| 258 | 258 | } |
| 259 | 259 | } |
| 260 | 260 | |
| 261 | - return new JSONResponse(json_encode($options.pollTexts)); |
|
| 261 | + return new JSONResponse(json_encode($options . pollTexts)); |
|
| 262 | 262 | } |
| 263 | 263 | } |