diff --git a/bookquiz/toc.php b/bookquiz/toc.php index 9f146df..8c59d67 100755 --- a/bookquiz/toc.php +++ b/bookquiz/toc.php @@ -132,7 +132,7 @@ if ($print) { } else { if (array_key_exists( $ch->id, $okchapters)) { $toc .= ''.$title.''; + .$id.'&chapterid='.$ch->id.'">'.$title.''; } else { $toc .= htmlspecialchars($title); }