missed semicolon
@ -132,7 +132,7 @@ if ($print) {
} else {
if (array_key_exists( $ch->id, $okchapters)) {
$toc .= '<a title="'.htmlspecialchars($title).'" href="attempt.php?id='
$id.'&chapterid='.$ch->id.'">'.$title.'</a>';
.$id.'&chapterid='.$ch->id.'">'.$title.'</a>';
$toc .= htmlspecialchars($title);
}
@ -44,7 +44,7 @@ class page_game extends page_generic_activity {
$this->init_full();
$replacements = array(
'%fullname%' => format_string($this->activityrecord->name)
)
);
foreach ($replacements as $search => $replace) {
$title = str_replace($search, $replace, $title);