Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinzenz Rosenkranz <vinzenz.rosenkranz@gmail.com>2016-02-25 22:56:35 +0300
committerVinzenz Rosenkranz <vinzenz.rosenkranz@gmail.com>2016-02-25 22:56:35 +0300
commit4a9e3e1992994bc806b214b9605df5e617e40297 (patch)
tree07547a82803d9f726abce502dbdd2dc599b911e3 /controller
parent0ee158b6a4cc1e0ab94d8db8e129bfbee65ce3b9 (diff)
fixed some minor bugs
Diffstat (limited to 'controller')
-rw-r--r--controller/pagecontroller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php
index 45d768e8..90226374 100644
--- a/controller/pagecontroller.php
+++ b/controller/pagecontroller.php
@@ -343,6 +343,7 @@ class PageController extends Controller {
$dates = json_decode($dates);
$types = json_decode($types);
+ $this->participationMapper->deleteByPollAndUser($pollId, $userId);
for($i=0; $i<count($dates); $i++) {
$part = new Participation();
$part->setPollId($pollId);