]> git.mjollnir.org Git - moodle.git/commitdiff
fixed error message
authorskodak <skodak>
Sat, 16 Sep 2006 12:02:02 +0000 (12:02 +0000)
committerskodak <skodak>
Sat, 16 Sep 2006 12:02:02 +0000 (12:02 +0000)
admin/uploaduser.php

index d92191bf26a27fa0a9d6678824e1f5f6eb7c6222..1f6e4d743db183d6c4587e6105c6824225bb2393 100755 (executable)
@@ -319,7 +319,7 @@ if ($um->preprocess_files() && confirm_sesskey()) {
                             if (isset($addrole[$i])) {
                                 $coursecontext = get_context_instance(CONTEXT_COURSE, $course[$i]->id);
                                 if (!user_can_assign($coursecontext, $addrole[$i])) {
-                                    notify('--> Can not eroll into course'); //TODO: localize
+                                    notify('--> Can not assign role in course'); //TODO: localize
                                 }
                                 $ret = role_assign($addrole[$i], $user->id, 0, $coursecontext->id);
                             } else if (isset($addtype[$i])) {