Fix a $_SESSION collision with a $variable when register_globals is ON

This commit is contained in:
james 2007-11-29 18:49:34 +00:00
parent fab18eb0c7
commit 5ba77a6868

View File

@ -253,8 +253,8 @@ if($_POST['add_member_to_committees_id'])
echo "<option value=\"\">".i18n("Select a Member")."</option>\n";
while($r=mysql_fetch_object($q))
{
$name = $r->firstname.' '.$r->lastname;
echo "<option value=\"$r->id\">$name</option>\n";
$displayname = $r->firstname.' '.$r->lastname;
echo "<option value=\"$r->id\">$displayname</option>\n";
}
echo "</select>";