]> git.mjollnir.org Git - moodle.git/commitdiff
fixed wrong placement of comma
authorskodak <skodak>
Fri, 8 Sep 2006 15:53:24 +0000 (15:53 +0000)
committerskodak <skodak>
Fri, 8 Sep 2006 15:53:24 +0000 (15:53 +0000)
course/index.php

index 7a79f85403fa77dbdb6fe82fb4eeff6e2d98ee7b..70b4283b2a10e6821878bf8192dfcb1d9512a205 100644 (file)
@@ -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 "</center>";