Skip to content

Commit

Permalink
Fix #54 - remove event name limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ak4t0sh committed May 27, 2024
1 parent b0bf8c1 commit a5c8266
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
define('CUSTOMFIELD_TYPE_MULTISELECT', 2);

// Calendar-related constants.
define('CALENDAR_MAX_NAME_LENGTH', 15);
define('F2F_CAL_NONE', 0);
define('F2F_CAL_COURSE', 1);
define('F2F_CAL_SITE', 2);
Expand Down Expand Up @@ -3509,7 +3508,7 @@ function facetoface_add_session_to_calendar($session, $facetoface, $calendartype

$shortname = $facetoface->shortname;
if (empty($shortname)) {
$shortname = core_text::substr($facetoface->name, 0, CALENDAR_MAX_NAME_LENGTH);
$shortname = $facetoface->name;
}

$result = true;
Expand Down

0 comments on commit a5c8266

Please sign in to comment.