Browse Source

Fix syntax error (missed fullstop for concatenation)

MOODLE_20_STABLE
Evan Giles 9 years ago
parent
commit
2acccac58c
  1. 2
      bookquiz/toc.php

2
bookquiz/toc.php

@ -132,7 +132,7 @@ if ($print) {
} else { } else {
if (array_key_exists( $ch->id, $okchapters)) { if (array_key_exists( $ch->id, $okchapters)) {
$toc .= '<a title="'.htmlspecialchars($title).'" href="attempt.php?id=' $toc .= '<a title="'.htmlspecialchars($title).'" href="attempt.php?id='
$id.'&chapterid='.$ch->id.'">'.$title.'</a>'; .$id.'&chapterid='.$ch->id.'">'.$title.'</a>';
} else { } else {
$toc .= htmlspecialchars($title); $toc .= htmlspecialchars($title);
} }

Loading…
Cancel
Save