]> git.mjollnir.org Git - moodle.git/commitdiff
breadcrumb MDL-14133 One function missed during fix, got it this time
authorsamhemelryk <samhemelryk>
Tue, 9 Jun 2009 06:31:20 +0000 (06:31 +0000)
committersamhemelryk <samhemelryk>
Tue, 9 Jun 2009 06:31:20 +0000 (06:31 +0000)
lib/weblib.php

index c2289b69db46d0953f9c8ad4f1652e4cd21f90c9..7666657edcfce14edf539ac0ff05774bdf90f29e 100644 (file)
@@ -3941,7 +3941,11 @@ function build_navigation($extranavlinks, $cm = null) {
         if (!empty($navlink['type']) && $navlink['type'] == 'activity' && !$last && $hideactivitylink) {
             continue;
         }
-        $navigation .= '<li class="first">';
+        if ($first) {
+            $navigation .= '<li class="first">';
+        } else {
+            $navigation .= '<li>';
+        }
         if (!$first) {
             $navigation .= get_separator();
         }