MDL-47804 events: calendar_event_updated needs to accept a timestart == 0
This commit is contained in:
@@ -106,7 +106,7 @@ class calendar_event_updated extends base {
|
||||
if (empty($this->other['name'])) {
|
||||
throw new \coding_exception('The \'name\' value must be set in other.');
|
||||
}
|
||||
if (empty($this->other['timestart'])) {
|
||||
if (!isset($this->other['timestart'])) {
|
||||
throw new \coding_exception('The \'timestart\' value must be set in other.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user