From a2f41849cf3339fb96dbdecf688312084b89d1be Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 17 Apr 2005 15:55:07 +0000 Subject: [PATCH] Fix for secure forms --- mod/assignment/details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/assignment/details.php b/mod/assignment/details.php index 146f1c295d4..54b7f7385f1 100644 --- a/mod/assignment/details.php +++ b/mod/assignment/details.php @@ -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"); }