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"); }