renamed variable so that it doens't get recycled

This commit is contained in:
toyomoyo
2006-08-23 08:11:43 +00:00
parent 905c4567a2
commit ae1e00a089
+2 -2
View File
@@ -166,13 +166,13 @@
}
foreach ($roles as $rolex) {
$options[$rolex->id] = $rolex->name;
$roleoptions[$rolex->id] = $rolex->name;
}
// prints a form to swap roles
print ('<form name="rolesform1" action="manage.php" method="post">');
print ('<div align="center">Select a Role: ');
choose_from_menu ($options, 'roleid', $roleid, 'choose', $script='rolesform1.submit()');
choose_from_menu ($roleoptions, 'roleid', $roleid, 'choose', $script='rolesform1.submit()');
print ('</div></form>');
// this is the array holding capabilities of this role sorted till this context