From 109613b290541855b2c3caaa7a1bdc85db4f02ec Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 14 Oct 2002 16:06:19 +0000 Subject: [PATCH] Fix to clear the modform variable just in case there's one from one module that later affects another module. --- course/mod.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/course/mod.php b/course/mod.php index ba62e28889..1e7f8b6ac3 100644 --- a/course/mod.php +++ b/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)) { -- 2.39.5