From: moodler Date: Thu, 3 Sep 2009 08:14:04 +0000 (+0000) Subject: $PAGE MDL-19077 Call set_url on login page explicitly to avoid warnings X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=89731d2372d4bccbeb09d4f947223d037467c777;p=moodle.git $PAGE MDL-19077 Call set_url on login page explicitly to avoid warnings --- diff --git a/login/index.php b/login/index.php index 099c60c803..c8efd9a01c 100644 --- a/login/index.php +++ b/login/index.php @@ -11,6 +11,8 @@ $context = get_context_instance(CONTEXT_SYSTEM); $PAGE->set_course($SITE); + $PAGE->set_url($CFG->wwwroot.'/login/index.php'); + //initialize variables $errormsg = ''; $errorcode = 0;