This should fix the problems some poeple were having with the login block

This commit is contained in:
moodler 2005-04-17 05:47:40 +00:00
parent 218736737b
commit 9f9e3576e1

View File

@ -30,6 +30,10 @@
}
}
if (get_moodle_cookie() == '') {
set_moodle_cookie('nobody'); // To help search for cookies on login page
}
if (!empty($USER->id)) {
add_to_log(SITEID, 'course', 'view', 'view.php?id='.SITEID, SITEID);
}