]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed authentication a little
authormoodler <moodler>
Thu, 20 Nov 2003 11:23:45 +0000 (11:23 +0000)
committermoodler <moodler>
Thu, 20 Nov 2003 11:23:45 +0000 (11:23 +0000)
mod/quiz/question.php

index d2d7623c72c9300564b1e179355b4c390ce6a30f..2dc1f3b2f2edad04baa3c6f9ef99d9566d429390 100644 (file)
@@ -44,7 +44,7 @@
 
     require_login($course->id);
 
-    if (!isteacher($course->id)) {
+    if (!isteacheredit($course->id)) {
         error("You can't modify these questions!");
     }