bellow spelling fixed; backported from HEAD

This commit is contained in:
skodak
2006-11-20 17:40:45 +00:00
parent a71dd3f315
commit c8c625a0be
+2 -2
View File
@@ -224,9 +224,9 @@
if (array_key_exists($roleid, $roles) and confirm_sesskey()) {
$role = $roles[$roleid];
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");
}
}