]> git.mjollnir.org Git - moodle.git/commitdiff
incorrect use of required_param()
authorskodak <skodak>
Tue, 7 Mar 2006 23:51:21 +0000 (23:51 +0000)
committerskodak <skodak>
Tue, 7 Mar 2006 23:51:21 +0000 (23:51 +0000)
question/edit.php

index bde9cbec03edfec86762b3dddedac67a1b300573..d13a996f133e2f76720ce7ee4bcacf803ec648f6 100644 (file)
@@ -16,7 +16,7 @@
 
     require_login();
 
-    $courseid  = required_param('courseid', 0, PARAM_INT);
+    $courseid  = required_param('courseid', PARAM_INT);
 
     // The optional parameter 'clean' allows us to clear module information,
     // guaranteeing a module-independent  question bank editing interface