Permalink
Browse files

Whoops ... little bug that stopped loginas from working ... need to

create $USER->site ...
  • Loading branch information...
1 parent f5e8812 commit 45f21575aac62aeebe44c1d5300a69f14b948aaa martin committed Sep 5, 2002
Showing with 1 addition and 0 deletions.
  1. +1 −0 course/loginas.php
View
@@ -28,6 +28,7 @@
$USER = get_user_info_from_db("id", $user);
$USER->loggedin = true;
+ $USER->site = $CFG->wwwroot;
$USER->realuser = $teacher_id;
save_session("USER");

0 comments on commit 45f2157

Please sign in to comment.