Skip to content

Commit

Permalink
Fix to clear the modform variable just in case there's one
Browse files Browse the repository at this point in the history
from one module that later affects another module.
  • Loading branch information
moodler committed Oct 14, 2002
1 parent ff80e01 commit 109613b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions course/mod.php
Expand Up @@ -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)) {
Expand Down

0 comments on commit 109613b

Please sign in to comment.