Don't redirect guests to mymoodle page! MDL-8594

This commit is contained in:
moodler
2007-03-01 07:56:24 +00:00
parent df18c3141e
commit 60f8f5bf42
+1 -1
View File
@@ -54,7 +54,7 @@
redirect($CFG->wwwroot .'/'. $CFG->admin .'/index.php');
}
} else if (!empty($CFG->mymoodleredirect)) { // Redirect logged-in users to My Moodle overview if required
if (isloggedin()) {
if (isloggedin() and !isguest()) {
redirect($CFG->wwwroot .'/my/index.php');
}
}