]> git.mjollnir.org Git - moodle.git/commitdiff
FIxed my last hasty checkin
authormoodler <moodler>
Tue, 28 Dec 2004 15:12:46 +0000 (15:12 +0000)
committermoodler <moodler>
Tue, 28 Dec 2004 15:12:46 +0000 (15:12 +0000)
index.php

index 939694acb35b09cd4ea2c516bc4b4eb74dd86c62..2b2769309f39c410e6f66afd6ca7a8a3507494a1 100644 (file)
--- a/index.php
+++ b/index.php
@@ -45,7 +45,7 @@
         $loginstring = "<font size=\"2\"><a href=\"$wwwroot/login/index.php\">".get_string('login').'</a></font>';
     } else {
         $loginstring = '<font size="1">'. user_login_string($site) .'</font>';
-        add_to_log(SITEID, "course", "view", "view.php?id=$course->id", SITEID);
+        add_to_log(SITEID, 'course', 'view', 'view.php?id='.SITEID, SITEID);
     }
 
     if (empty($CFG->langmenu)) {