Merge branch 'MDL-49145_27' of git://github.com/dmonllao/moodle into MOODLE_27_STABLE

This commit is contained in:
Andrew Nicols
2015-02-23 09:06:26 +08:00
+1 -1
View File
@@ -195,7 +195,7 @@ class report_log_table_log extends table_sql {
$context = context::instance_by_id($event->contextid, IGNORE_MISSING);
if ($context) {
$contextname = $context->get_context_name(true);
if ($url = $context->get_url() && empty($this->download)) {
if (($url = $context->get_url()) && empty($this->download)) {
$contextname = html_writer::link($url, $contextname);
}
} else {