course->id now site->id so we can add a reading
authormartin <martin>
Mon, 27 May 2002 02:25:40 +0000 (02:25 +0000)
committermartin <martin>
Mon, 27 May 2002 02:25:40 +0000 (02:25 +0000)
index.php

index 0cfce80..c5cd38a 100644 (file)
--- a/index.php
+++ b/index.php
@@ -32,7 +32,7 @@
          }
      
          if ($USER->editing) {
-             echo "<P align=right><A HREF=\"$CFG->wwwroot/course/mod.php?id=$course->id&week=0&add=reading\">Add Reading</A>...</P>";
+             echo "<P align=right><A HREF=\"$CFG->wwwroot/course/mod.php?id=$site->id&week=0&add=reading\">Add Reading</A>...</P>";
          }
       ?>