Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 109613b290541855b2c3caaa7a1bdc85db4f02ec 1 parent ff80e01
moodler authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  course/mod.php
View
3  course/mod.php
@@ -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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.