Allow teacher editors to modify scales

This commit is contained in:
moodler
2003-08-16 05:44:40 +00:00
parent 21f93862bd
commit d99eab3c9f
+2 -2
View File
@@ -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 !");
}