Skip to content

Commit

Permalink
Merge branch 'MDL-49145_master' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Feb 23, 2015
2 parents 95751e8 + fada0d4 commit f393b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report/log/classes/table_log.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function col_context($event) {
$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 {
Expand Down

0 comments on commit f393b05

Please sign in to comment.