From: toyomoyo Date: Wed, 23 Aug 2006 08:11:43 +0000 (+0000) Subject: renamed variable so that it doens't get recycled X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ae1e00a0892d3f1334ab7d7d1dd1d3a6f449d85d;p=moodle.git renamed variable so that it doens't get recycled --- diff --git a/admin/roles/manage.php b/admin/roles/manage.php index 044aa62bc9..88a89318f9 100755 --- a/admin/roles/manage.php +++ b/admin/roles/manage.php @@ -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 ('
'); print ('
Select a Role: '); - choose_from_menu ($options, 'roleid', $roleid, 'choose', $script='rolesform1.submit()'); + choose_from_menu ($roleoptions, 'roleid', $roleid, 'choose', $script='rolesform1.submit()'); print ('
'); // this is the array holding capabilities of this role sorted till this context