From 936369ef5f8d8964cd3db7c63f11bc3d3ff261c5 Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Tue, 9 Jun 2009 06:29:56 +0000 Subject: [PATCH] breadcrumb MDL-14133 One function missed during fix, got it this time --- lib/weblib.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 0a6dec42bcb2e..cfd1a4e6e4f3c 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3858,7 +3858,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(); }