Fix to clear the modform variable just in case there's one

from one module that later affects another module.
This commit is contained in:
moodler
2002-10-14 16:06:19 +00:00
parent ff80e012b0
commit 109613b290
+3
View File
@@ -245,6 +245,9 @@
"$streditinga", "form.name", "", false);
}
unset($SESSION->modform); // Clear any old ones that may be hanging around.
save_session("SESSION");
$modform = "../mod/$module->name/mod.html";
if (file_exists($modform)) {