From ad17ac873c67b3c46e78423020c273a04e7123db Mon Sep 17 00:00:00 2001 From: Grigory Baleevskiy Date: Thu, 21 Jan 2016 15:09:00 +1100 Subject: [PATCH 1/2] missed semicolon --- pagelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pagelib.php b/pagelib.php index 90b93f9..e3e566a 100755 --- a/pagelib.php +++ b/pagelib.php @@ -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); } From 2acccac58cefdc7fb3de40c786cf2ea9b8a3cf27 Mon Sep 17 00:00:00 2001 From: Evan Giles Date: Fri, 22 Jan 2016 08:43:19 +1100 Subject: [PATCH 2/2] Fix syntax error (missed fullstop for concatenation) --- bookquiz/toc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }