]> git.mjollnir.org Git - moodle.git/commitdiff
typo ;-)
authorstronk7 <stronk7>
Sun, 3 Sep 2006 21:43:37 +0000 (21:43 +0000)
committerstronk7 <stronk7>
Sun, 3 Sep 2006 21:43:37 +0000 (21:43 +0000)
lib/accesslib.php

index 7fb0630cdc3e5918e8bd9413a17460094cd1417c..2b3909067c54ddeb6515fb698be312cedf8555d3 100755 (executable)
@@ -796,7 +796,7 @@ function moodle_install_roles() {
     if (in_array($CFG->prefix.'user_coursecreators', $dbtables)) {
         if ($usercoursecreators = get_records('user_coursecreators')) {
             foreach ($usercoursecreators as $coursecreator) {
-                role_assign($$coursecreatorrole, $coursecreator->userid, 0, $systemcontext->id);
+                role_assign($coursecreatorrole, $coursecreator->userid, 0, $systemcontext->id);
             }
         }
     }