Merge branch 'MDL-47804_27' of git://github.com/aolley/moodle into MOODLE_27_STABLE

This commit is contained in:
Dan Poltawski
2014-10-24 15:14:38 +01:00
+1 -1
View File
@@ -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.');
}
}