From 89731d2372d4bccbeb09d4f947223d037467c777 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 3 Sep 2009 08:14:04 +0000 Subject: [PATCH] $PAGE MDL-19077 Call set_url on login page explicitly to avoid warnings --- login/index.php | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5