Browse Source

Merge pull request #10 from grigory-catalyst/MOODLE_20_STABLE

missed semicolon
MOODLE_20_STABLE
bdaloukas 9 years ago
parent
commit
5de0693410
  1. 2
      bookquiz/toc.php
  2. 2
      pagelib.php

2
bookquiz/toc.php

@ -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>';
} else {
$toc .= htmlspecialchars($title);
}

2
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);
}

Loading…
Cancel
Save