- fix NPE problem with scheduling
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@1513 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
parent
98479eeae7
commit
4aa64ce1b1
@ -103,8 +103,10 @@ class ScheduledSessionController {
|
|||||||
|
|
||||||
def conflict = false
|
def conflict = false
|
||||||
|
|
||||||
|
def sched
|
||||||
|
|
||||||
if (results.size() > 0) {
|
if (results.size() > 0) {
|
||||||
def sched = results[0]
|
sched = results[0]
|
||||||
if ((scheduledSessionInstance.startDateTime > sched.startDateTime) && (scheduledSessionInstance.startDateTime < sched.endDateTime)) {
|
if ((scheduledSessionInstance.startDateTime > sched.startDateTime) && (scheduledSessionInstance.startDateTime < sched.endDateTime)) {
|
||||||
log.debug "Start time is between start and date time of session ${sched.name}"
|
log.debug "Start time is between start and date time of session ${sched.name}"
|
||||||
conflict = true
|
conflict = true
|
||||||
|
Loading…
Reference in New Issue
Block a user