Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'wip-mdl-41635-m24' of git://github.com/rajeshtaneja/moo…

…dle into MOODLE_24_STABLE
  • Loading branch information...
commit c96069566ab4586a140f30b1d66775151a46f302 2 parents 9bd1ba9 + da56883
@danpoltawski danpoltawski authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 report/loglive/lib.php
View
5 report/loglive/lib.php
@@ -38,8 +38,9 @@
function report_loglive_extend_navigation_course($navigation, $course, $context) {
global $CFG, $OUTPUT;
if (has_capability('report/loglive:view', $context)) {
+ $nodename = get_string('pluginname', 'report_loglive');
$url = new moodle_url('/report/loglive/index.php', array('id'=>$course->id, 'inpopup'=>1));
- $action = new action_link($url, '', new popup_action('click', $url));
- $navigation->add(get_string('pluginname', 'report_loglive'), $action, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', ''));
+ $action = new action_link($url, $nodename, new popup_action('click', $url));
+ $navigation->add($nodename, $action, navigation_node::TYPE_SETTING, null, null, new pix_icon('i/report', ''));
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.