Skip to content

Commit

Permalink
Merge branch 'MDL-65262-36' of git://github.com/lameze/moodle into MO…
Browse files Browse the repository at this point in the history
…ODLE_36_STABLE
  • Loading branch information
andrewnicols committed May 3, 2019
2 parents d941f7a + 091cad4 commit f3b6dde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion calendar/classes/external/event_exporter_base.php
Expand Up @@ -125,7 +125,7 @@ protected static function define_properties() {
'null' => NULL_ALLOWED
],
'location' => [
'type' => PARAM_RAW_TRIMMED,
'type' => PARAM_RAW,
'optional' => true,
'default' => null,
'null' => NULL_ALLOWED
Expand Down
2 changes: 1 addition & 1 deletion calendar/lib.php
Expand Up @@ -2846,7 +2846,7 @@ function calendar_add_icalendar_event($event, $unused = null, $subscriptionid, $
}

$eventrecord->location = empty($event->properties['LOCATION'][0]->value) ? '' :
str_replace('\\', '', $event->properties['LOCATION'][0]->value);
trim(str_replace('\\', '', $event->properties['LOCATION'][0]->value));
$eventrecord->uuid = $event->properties['UID'][0]->value;
$eventrecord->timemodified = time();

Expand Down

0 comments on commit f3b6dde

Please sign in to comment.