]> git.mjollnir.org Git - moodle.git/commitdiff
Solved one annoying bug where label texts in sections != first
authorstronk7 <stronk7>
Wed, 20 Oct 2004 23:26:49 +0000 (23:26 +0000)
committerstronk7 <stronk7>
Wed, 20 Oct 2004 23:26:49 +0000 (23:26 +0000)
was being always cleared, preventing some tags to be there!

Merged from MOODLE_14_STABLE

course/lib.php

index a92e1052b273d8a8bb63c09950f45a37a4092cac..a29ccde8e8e39cbf182d8626640416ac99755b37 100644 (file)
@@ -881,8 +881,8 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
             $strmovehere = get_string("movehere");
             $strmovefull = strip_tags(get_string("movefull", "", "'$USER->activitycopyname'"));
         }
-        $labelformatoptions->noclean = true;
     }
+    $labelformatoptions->noclean = true;
 
     $modinfo = unserialize($course->modinfo);