Avoid some notices breaking image display and correct redirects. Bug 2638.
(http://moodle.org/bugs/bug.php?op=show&bugid=2638)
This commit is contained in:
+6
-2
@@ -79,8 +79,12 @@
|
||||
unset($_POST["id"]);
|
||||
unset($_POST["id"]);
|
||||
unset($_SERVER["QUERY_STRING"]);
|
||||
unset($HTTP_GET_VARS["id"]);
|
||||
unset($HTTP_POST_VARS["id"]);
|
||||
if (isset($HTTP_GET_VARS)) {
|
||||
unset($HTTP_GET_VARS["id"]);
|
||||
}
|
||||
if (isset($HTTP_POST_VARS)) {
|
||||
unset($HTTP_POST_VARS["id"]);
|
||||
}
|
||||
global $ewiki_title;
|
||||
|
||||
/// #-- predefine some of the configuration constants
|
||||
|
||||
Reference in New Issue
Block a user