Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-26948 quiz navigation fake block should have an id to allow styling.

  • Loading branch information...
commit 6750bec6c9d34f9d1c11895a038030dbe79f8fa2 1 parent cc50a2f
Tim Hunt timhunt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/attemptlib.php
2  mod/quiz/attemptlib.php
View
@@ -1201,7 +1201,7 @@ public function get_contents() {
$content .= '<div class="othernav">' . "\n" . $this->get_end_bits() . "\n</div>\n";
$bc = new block_contents();
- $bc->id = 'quiznavigation';
+ $bc->attributes['id'] = 'mod_quiz_navblock';
$bc->title = get_string('quiznavigation', 'quiz');
$bc->content = $content;
return $bc;
Please sign in to comment.
Something went wrong with that request. Please try again.