Merge branch 'wip-MDL-47174-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2014-11-06 02:15:44 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ class calendar_event_created 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.');
}
}
+1 -1
View File
@@ -88,7 +88,7 @@ class calendar_event_deleted 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.');
}
}