mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
bellow spelling fixed
This commit is contained in:
parent
54b2c994fd
commit
022f9b28ff
@ -224,9 +224,9 @@
|
|||||||
if (array_key_exists($roleid, $roles) and confirm_sesskey()) {
|
if (array_key_exists($roleid, $roles) and confirm_sesskey()) {
|
||||||
$role = $roles[$roleid];
|
$role = $roles[$roleid];
|
||||||
if ($role->sortorder + 1 < $rolescount) {
|
if ($role->sortorder + 1 < $rolescount) {
|
||||||
$bellow = $roles[$rolesort[$role->sortorder + 1]];
|
$below = $roles[$rolesort[$role->sortorder + 1]];
|
||||||
|
|
||||||
if (!switch_roles($role, $bellow)) {
|
if (!switch_roles($role, $below)) {
|
||||||
error("Cannot move role with ID $roleid");
|
error("Cannot move role with ID $roleid");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user