### Eclipse Workspace Patch 1.0
#P moodle
Index: mod/scorm/report.php
===================================================================
RCS file: /cvsroot/moodle/moodle/mod/scorm/report.php,v
retrieving revision 1.46.2.11
diff -u -r1.46.2.11 report.php
--- mod/scorm/report.php	11 Mar 2009 01:18:41 -0000	1.46.2.11
+++ mod/scorm/report.php	20 Mar 2009 14:13:44 -0000
@@ -68,7 +68,9 @@
 
         if (empty($b)) {
             if (empty($a)) {
-                $navigation = build_navigation('', $cm);
+                $navlinks = array();
+                $navlinks[] = array('name' => $strreport, 'link' => "report.php?id=$cm->id", 'type' => 'title');
+                $navigation = build_navigation($navlinks, $cm);
                 print_header("$course->shortname: ".format_string($scorm->name), $course->fullname,$navigation,
                              '', '', true);
             } else {
Index: mod/scorm/view.php
===================================================================
RCS file: /cvsroot/moodle/moodle/mod/scorm/view.php,v
retrieving revision 1.56.2.4
diff -u -r1.56.2.4 view.php
--- mod/scorm/view.php	6 Aug 2008 05:06:00 -0000	1.56.2.4
+++ mod/scorm/view.php	20 Mar 2009 14:13:44 -0000
@@ -42,6 +42,8 @@
     $strscorms = get_string("modulenameplural", "scorm");
     $strscorm  = get_string("modulename", "scorm");
 
+    $navlinks = array();
+    
     if ($course->id != SITEID) { 
         
         if ($scorms = get_all_instances_in_course('scorm', $course)) {
@@ -63,7 +65,6 @@
     //
     // Print the page header
     //
-    $navlinks = array();
     $navlinks[] = array('name' => format_string($scorm->name,true), 'link' => "view.php?id=$cm->id", 'type' => 'activityinstance');
     $navigation = build_navigation($navlinks);
     

