Fix for secure forms

This commit is contained in:
moodler
2005-04-17 15:55:07 +00:00
parent 73097f0711
commit a2f41849cf
+1 -1
View File
@@ -5,7 +5,7 @@
require_once("../../config.php");
require_once("lib.php");
if (!$form = data_submitted()) {
if (!$form = data_submitted($CFG->wwwroot.'/course/mod.php')) {
error("This script was called wrongly");
}