Completed
Pull Request — master (#679)
by René
13:40 queued 09:33
created
lib/Controller/SystemController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 
171 171
 		$votes = $this->voteMapper->findParticipantsByPoll($pollId);
172 172
 		foreach ($votes as $vote) {
173
-			if ($vote->getUserId() !== '' && $vote->getUserId() !== null ) {
173
+			if ($vote->getUserId() !== '' && $vote->getUserId() !== null) {
174 174
 				$list[] = [
175 175
 					'id' => $vote->getUserId(),
176 176
 					'user' => $vote->getUserId(),
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 
183 183
 		$shares = $this->shareMapper->findByPoll($pollId);
184 184
 		foreach ($shares as $share) {
185
-			if ($share->getUserId() !== '' && $share->getUserId() !== null ) {
185
+			if ($share->getUserId() !== '' && $share->getUserId() !== null) {
186 186
 				$list[] = [
187 187
 					'id' => $share->getUserId(),
188 188
 					'user' => $share->getUserId(),
Please login to merge, or discard this patch.