diff --git a/course/scales.php b/course/scales.php index 6fb8f5fd545..ec34c429ef3 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 !"); }