From a13d2157f4861bf277f79c7b7601482b0b14454c Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 8 Sep 2006 15:53:24 +0000 Subject: [PATCH] fixed wrong placement of comma --- course/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/index.php b/course/index.php index 7a79f85403..70b4283b2a 100644 --- a/course/index.php +++ b/course/index.php @@ -66,7 +66,7 @@ if (iscreator()) { // Print link to create a new course print_single_button("edit.php", NULL, get_string("addnewcourse"), "get"); } - if (has_capability('moodle/site:approvecourse' get_context_instance(CONTEXT_SYSTEM, SITEID)), and !empty($CFG->enablecourserequests)) { + if (has_capability('moodle/site:approvecourse', get_context_instance(CONTEXT_SYSTEM, SITEID)) and !empty($CFG->enablecourserequests)) { print_single_button('pending.php',NULL, get_string('coursespending'),"get"); } echo ""; -- 2.39.5