Merge branch 'MDL-47371-30-fix' of git://github.com/cameron1729/moodle into MOODLE_30_STABLE
This commit is contained in:
@@ -331,6 +331,7 @@ function book_get_toc($chapters, $chapter, $book, $cm, $edit) {
|
||||
$toc .= html_writer::start_tag('ul');
|
||||
foreach ($chapters as $ch) {
|
||||
$title = trim(format_string($ch->title, true, array('context'=>$context)));
|
||||
$titleunescaped = trim(format_string($ch->title, true, array('context' => $context, 'escape' => false)));
|
||||
if (!$ch->hidden) {
|
||||
if (!$ch->subchapter) {
|
||||
$nch++;
|
||||
|
||||
Reference in New Issue
Block a user