diff options
author | dartcafe <github@dartcafe.de> | 2020-09-14 02:17:38 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-09-14 02:17:38 +0300 |
commit | 348f41e38fc52e7e16df0f75ee76da8fd0503efd (patch) | |
tree | e84f5198a7108a466aec60bf9d5973a6fdc1d41b /lib/Service | |
parent | ab99e4c1abbb31b50a54e6a7be837afa2b604ae2 (diff) |
minor fixes
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/PollService.php | 1 | ||||
-rw-r--r-- | lib/Service/SystemService.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Service/PollService.php b/lib/Service/PollService.php index c75163db..fc459587 100644 --- a/lib/Service/PollService.php +++ b/lib/Service/PollService.php @@ -318,6 +318,7 @@ class PollService { } $votes = $this->voteMapper->findParticipantsByPoll($pollId); + $list = []; foreach ($votes as $vote) { $list[] = $vote->getDisplayName() . ' <' . $this->mailService->resolveEmailAddress($pollId, $vote->getUserId()) . '>'; } diff --git a/lib/Service/SystemService.php b/lib/Service/SystemService.php index e52dafa9..1d4b731e 100644 --- a/lib/Service/SystemService.php +++ b/lib/Service/SystemService.php @@ -317,11 +317,11 @@ class SystemService { if (\OC::$server->getContactsManager()->isEnabled()) { if ($getContacts) { - $list = array_merge($list, $this->getContacts($query, $skipUsers)); + $list = array_merge($list, $this->getContacts($query)); } if ($getContacts) { - $list = array_merge($list, $this->getContactsGroups($query, $skipGroups)); + $list = array_merge($list, $this->getContactsGroups($query)); } } |