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:
Diffstat (limited to 'lib/Model/Acl.php')
-rw-r--r--lib/Model/Acl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Model/Acl.php b/lib/Model/Acl.php
index 86743c67..b68386f0 100644
--- a/lib/Model/Acl.php
+++ b/lib/Model/Acl.php
@@ -141,7 +141,7 @@ class Acl implements JsonSerializable {
$this->pollId = $this->share->getPollId();
} elseif ($pollId) {
- $this->user = \OC::$server->getUserSession()->getUser()->getUID();
+ $this->userId = \OC::$server->getUserSession()->getUser()->getUID();
$this->pollId = $pollId;
$this->share = null;
}