Skip to content
Snippets Groups Projects
Commit 0e274973 authored by comete-upn's avatar comete-upn
Browse files

Fix sections header send twice in edit mode.

parent 8962549c
Branches
No related tags found
1 merge request!2Resolve "Bobologie 2"
...@@ -832,12 +832,6 @@ public function print_iena_section_pages($course) ...@@ -832,12 +832,6 @@ public function print_iena_section_pages($course)
// Il se trouve dans : $thissection->name // Il se trouve dans : $thissection->name
//var_dump($htmlsection); //var_dump($htmlsection);
//var_dump($htmlsection0); //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 ($course->sectionposition == 0 and isset($htmlsection0)) {
// if ($PAGE->user_is_editing()){ // if ($PAGE->user_is_editing()){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment