From 674d23105e81c29f0b19a24cf7dd683d9d4245b5 Mon Sep 17 00:00:00 2001 From: germanocaumo Date: Thu, 20 May 2021 18:39:33 +0000 Subject: [PATCH] fix: don't show empty line when poll have 7 answers --- .../src/main/scala/org/bigbluebutton/core/models/Polls.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/models/Polls.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/models/Polls.scala index b419931635..24d41e39de 100755 --- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/models/Polls.scala +++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/models/Polls.scala @@ -268,7 +268,7 @@ object Polls { // Limit the number of answers displayed to minimize // squishing the display. - if (sorted_answers.length < 7) { + if (sorted_answers.length <= 7) { sorted_answers.foreach(ans => { answers += SimpleVoteOutVO(ans.id, ans.key, ans.numVotes) })