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:
stronk7
2005-02-25 00:10:04 +00:00
parent e8704f463d
commit 8b66564aa4
+6 -2
View File
@@ -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