Skip to content
Snippets Groups Projects
Commit 25e2c9fc authored by DELARUELLE Myriam's avatar DELARUELLE Myriam
Browse files

fix link/image in course description

parent c5f975f8
No related branches found
No related tags found
No related merge requests found
...@@ -107,8 +107,9 @@ class content extends content_base { ...@@ -107,8 +107,9 @@ class content extends content_base {
$course_data['student']=true; $course_data['student']=true;
} }
$summary = file_rewrite_pluginfile_urls($COURSE->summary, 'pluginfile.php', $context->id, 'course', 'summary', NULL); $summary = file_rewrite_pluginfile_urls($COURSE->summary, 'pluginfile.php', $context->id, 'course', 'summary', NULL);
$course_data['summary']=$summary; $course_data['summary']=$summary;
$course_data['summary']=$COURSE->summary; //$course_data['summary']=$COURSE->summary;
$course_data['enableclickicons']=$formatoptions['enableclickicons']; $course_data['enableclickicons']=$formatoptions['enableclickicons'];
return $course_data; return $course_data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment