From: samhemelryk Date: Tue, 9 Jun 2009 06:31:20 +0000 (+0000) Subject: breadcrumb MDL-14133 One function missed during fix, got it this time X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9985cbc4fe240d84a7a710b5831991b3872b2c88;p=moodle.git breadcrumb MDL-14133 One function missed during fix, got it this time --- diff --git a/lib/weblib.php b/lib/weblib.php index c2289b69db..7666657edc 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3941,7 +3941,11 @@ function build_navigation($extranavlinks, $cm = null) { if (!empty($navlink['type']) && $navlink['type'] == 'activity' && !$last && $hideactivitylink) { continue; } - $navigation .= '
  • '; + if ($first) { + $navigation .= '
  • '; + } else { + $navigation .= '
  • '; + } if (!$first) { $navigation .= get_separator(); }