From: moodler Date: Sat, 16 Aug 2003 05:44:40 +0000 (+0000) Subject: Allow teacher editors to modify scales X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d99eab3c9f877e9c09a8d286c7ea3ed9a1cdd419;p=moodle.git Allow teacher editors to modify scales --- diff --git a/course/scales.php b/course/scales.php index 6fb8f5fd54..ec34c429ef 100644 --- a/course/scales.php +++ b/course/scales.php @@ -89,8 +89,8 @@ /// The rest is all about editing the scales - if (!iscreator() and isteacher($course->id)) { - error("Only course creators can modify scales !"); + if (!isteacheredit($course->id)) { + error("Only editing teachers can modify scales !"); }