Merge branch 'MDL-49145_master' of git://github.com/dmonllao/moodle
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user