Merge branch 'MDL-49145_master' of git://github.com/dmonllao/moodle

This commit is contained in:
Andrew Nicols
2015-02-23 09:05:34 +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 {