From ce4d31b6e4446800dbc315573d5f7a4f0624c863 Mon Sep 17 00:00:00 2001
From: jfederico <jesus@123it.ca>
Date: Fri, 12 Oct 2018 21:52:39 +0000
Subject: [PATCH] Fix for bug in preview not working for students

---
 bbb-lti/grails-app/views/tool/index.gsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bbb-lti/grails-app/views/tool/index.gsp b/bbb-lti/grails-app/views/tool/index.gsp
index ca27d71ca1..7445d06b39 100644
--- a/bbb-lti/grails-app/views/tool/index.gsp
+++ b/bbb-lti/grails-app/views/tool/index.gsp
@@ -34,7 +34,7 @@
             </thead>
             <tbody>
             <g:each in="${recordingList}" var="r">
-                <g:if test="${ismoderator || r.published == 'true'}">
+                <g:if test="${ismoderator || r.published}">
                 <tr class="r0 lastrow">
                     <td class="cell c0" style="text-align:center;">
                     <g:if test="${r.published}">
-- 
GitLab