Commit 0e274973 authored by comete-upn's avatar comete-upn

Fix sections header send twice in edit mode.

parent 8962549c
......@@ -832,12 +832,6 @@ public function print_iena_section_pages($course)
// Il se trouve dans : $thissection->name
//var_dump($htmlsection);
//var_dump($htmlsection0);
if ($PAGE->user_is_editing()) {
// echo $completioninfo->display_help_icon();
echo $this->output->heading($this->page_title(), 2, 'accesshide');
echo $this->course_activity_clipboard($course, 0);
echo $this->start_section_list();
}
// if ($course->sectionposition == 0 and isset($htmlsection0)) {
// if ($PAGE->user_is_editing()){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment