]> git.mjollnir.org Git - moodle.git/commitdiff
Slightly more rboust
authormoodler <moodler>
Mon, 6 Jan 2003 08:47:57 +0000 (08:47 +0000)
committermoodler <moodler>
Mon, 6 Jan 2003 08:47:57 +0000 (08:47 +0000)
doc/index.php

index 1e4d03b4704c92a148aae5219071c6a0b7c0d695..66b6f81290d089c1b66c8db70c4d5290d6d82d0f 100644 (file)
@@ -14,6 +14,8 @@
 
     if (!empty($sub)) {
         $sub = "#$sub";
+    } else {
+        $sub = "";
     }
 
     if (empty($file)) {