diff --git a/lib/weblib.php b/lib/weblib.php index 0a9a8ab7442..3f0f7c79aa1 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2820,9 +2820,9 @@ function print_navigation ($navigation, $separator=0, $return=false) { $site->shortname = get_string('home'); } - $navigation = "
  • $separator ". str_replace('->', "
  • \n
  • $separator", s($navigation, false, false)) ."
  • \n"; + $navigation = "
  • $separator ". str_replace('->', "
  • \n
  • $separator", $navigation) ."
  • \n"; $output .= '
  • frametarget.' onclick="this.target=\''.$CFG->framename.'\'" href="'. $CFG->wwwroot.((!has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM, SITEID)) && !empty($USER->id) && !empty($CFG->mymoodleredirect) && !isguest()) - ? '/my' : '') .'/">'. s($site->shortname) ."
  • \n". $navigation; + ? '/my' : '') .'/">'. $site->shortname ."\n". $navigation; $output .= "\n"; }