Permalink
Browse files

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

from one module that later affects another module.
  • Loading branch information...
1 parent ff80e01 commit 109613b290541855b2c3caaa7a1bdc85db4f02ec moodler committed Oct 14, 2002
Showing with 3 additions and 0 deletions.
  1. +3 −0 course/mod.php
View
@@ -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)) {

0 comments on commit 109613b

Please sign in to comment.