Merge branch 'MDL-50892-28' of git://github.com/marinaglancy/moodle into MOODLE_28_STABLE
This commit is contained in:
@@ -104,7 +104,7 @@ class calendar_event_created extends base {
|
||||
if (!isset($this->other['repeatid'])) {
|
||||
throw new \coding_exception('The \'repeatid\' value must be set in other.');
|
||||
}
|
||||
if (empty($this->other['name'])) {
|
||||
if (!isset($this->other['name'])) {
|
||||
throw new \coding_exception('The \'name\' value must be set in other.');
|
||||
}
|
||||
if (!isset($this->other['timestart'])) {
|
||||
|
||||
@@ -85,7 +85,7 @@ class calendar_event_deleted extends base {
|
||||
if (!isset($this->other['repeatid'])) {
|
||||
throw new \coding_exception('The \'repeatid\' value must be set in other.');
|
||||
}
|
||||
if (empty($this->other['name'])) {
|
||||
if (!isset($this->other['name'])) {
|
||||
throw new \coding_exception('The \'name\' value must be set in other.');
|
||||
}
|
||||
if (!isset($this->other['timestart'])) {
|
||||
|
||||
@@ -103,7 +103,7 @@ class calendar_event_updated extends base {
|
||||
if (!isset($this->other['repeatid'])) {
|
||||
throw new \coding_exception('The \'repeatid\' value must be set in other.');
|
||||
}
|
||||
if (empty($this->other['name'])) {
|
||||
if (!isset($this->other['name'])) {
|
||||
throw new \coding_exception('The \'name\' value must be set in other.');
|
||||
}
|
||||
if (!isset($this->other['timestart'])) {
|
||||
|
||||
Reference in New Issue
Block a user