fixed indent - SC#158; merged from MOODLE_15_STABLE

This commit is contained in:
skodak
2005-10-09 19:41:34 +00:00
parent a6d933bea7
commit bdc04ca9e1
+4
View File
@@ -271,6 +271,10 @@
error("This course module doesn't exist");
}
if (!isteacheredit($cm->course)) {
error("You can't modify this course!");
}
$cm->indent += $indent;
if ($cm->indent < 0) {