diff options
author | dartcafe <github@dartcafe.de> | 2020-07-12 14:39:24 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-07-12 14:39:24 +0300 |
commit | e11022004cf8c6e7daf9bd8d0cbc5c414587e99a (patch) | |
tree | 144d3187780c21c26975129c939fdc9fc986985d /lib | |
parent | a2197adf6775c9a387d2b192d033ab780f4da236 (diff) |
fix voting
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/VoteService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/VoteService.php b/lib/Service/VoteService.php index 7534b258..32076289 100644 --- a/lib/Service/VoteService.php +++ b/lib/Service/VoteService.php @@ -119,7 +119,7 @@ class VoteService { throw new NotAuthorizedException; } - if ($option->getPollId() !== $this->acl->getPollId()) { + if (intval($option->getPollId()) !== $this->acl->getPollId()) { throw new NotAuthorizedException; } |