Merge branch 'MDL-40431_master' of https://github.com/markn86/moodle

This commit is contained in:
Damyon Wiese 2013-07-16 14:49:25 +08:00
commit ed9e492087
7 changed files with 27 additions and 20 deletions

View file

@ -212,7 +212,7 @@ if (empty($availablefilters)) {
/// Appropriate back link.
if (!$isfrontpage) {
echo html_writer::start_tag('div', array('class'=>'backlink'));
echo html_writer::tag('a', get_string('backto', '', $contextname), array('href'=>get_context_url($context)));
echo html_writer::tag('a', get_string('backto', '', $contextname), array('href' => $context->get_url()));
echo html_writer::end_tag('div');
}