diff --git a/course/lib.php b/course/lib.php index caa2327dec8..f25bad8a0d7 100644 --- a/course/lib.php +++ b/course/lib.php @@ -742,7 +742,7 @@ function print_course_admin_links($course, $width=180) { $modpixpath = "$CFG->wwwroot/theme/$CFG->theme/pix/mod"; } if (isteacher($course->id)) { - if (iscreator()) { + if (isteacheredit($course->id)) { $adminicon[]="\"\""; if (isediting($course->id)) { $admindata[]="id&edit=off\">".get_string("turneditingoff")."";