Fixed a notice
authormoodler <moodler>
Wed, 28 Jul 2004 12:01:42 +0000 (12:01 +0000)
committermoodler <moodler>
Wed, 28 Jul 2004 12:01:42 +0000 (12:01 +0000)
mod/scorm/index.php

index 1505879..48f5c8b 100755 (executable)
@@ -11,6 +11,8 @@
     if ($course->category) {
         require_login($course->id);
         $navigation = "<A HREF=\"../../course/view.php?id=$course->id\">$course->shortname</A> ->";
+    } else {
+        $navigation = '';
     }
 
     add_to_log($course->id, "scorm", "view all", "index.php?id=$course->id", "");