From d4b7b6edc03cc5ec0944925d022ee810494aa99c Mon Sep 17 00:00:00 2001 From: Ronny Velasquez Date: Thu, 13 Aug 2009 12:34:34 -0500 Subject: [PATCH] link title agenda - fixed partial #5082 --- main/calendar/agenda.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/calendar/agenda.inc.php b/main/calendar/agenda.inc.php index aebbe54e2b..bb016f07a7 100644 --- a/main/calendar/agenda.inc.php +++ b/main/calendar/agenda.inc.php @@ -3571,7 +3571,7 @@ function get_week_agendaitems($courses_dbs, $month, $year, $week = '') if ($setting_agenda_link == 'coursecode') { $title=$array_course_info['title']; - $agenda_link = api_substr($title, 0, 14); + $agenda_link = cut($title, 14, true); } else {