diff options
author | Vinzenz Rosenkranz <vinzenz.rosenkranz@gmail.com> | 2016-02-25 22:56:35 +0300 |
---|---|---|
committer | Vinzenz Rosenkranz <vinzenz.rosenkranz@gmail.com> | 2016-02-25 22:56:35 +0300 |
commit | 4a9e3e1992994bc806b214b9605df5e617e40297 (patch) | |
tree | 07547a82803d9f726abce502dbdd2dc599b911e3 /controller | |
parent | 0ee158b6a4cc1e0ab94d8db8e129bfbee65ce3b9 (diff) |
fixed some minor bugs
Diffstat (limited to 'controller')
-rw-r--r-- | controller/pagecontroller.php | 1 |
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); |