From f3c6d21942071ce2ec56c78cbdb2cbb959ac768e Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 16 Aug 2003 11:44:47 +0000 Subject: [PATCH] Show more admin links to isteacheredit() users --- course/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")."";