forked from science-ation/science-ation
Fix a $_SESSION collision with a $variable when register_globals is ON
This commit is contained in:
parent
fab18eb0c7
commit
5ba77a6868
@ -253,8 +253,8 @@ if($_POST['add_member_to_committees_id'])
|
|||||||
echo "<option value=\"\">".i18n("Select a Member")."</option>\n";
|
echo "<option value=\"\">".i18n("Select a Member")."</option>\n";
|
||||||
while($r=mysql_fetch_object($q))
|
while($r=mysql_fetch_object($q))
|
||||||
{
|
{
|
||||||
$name = $r->firstname.' '.$r->lastname;
|
$displayname = $r->firstname.' '.$r->lastname;
|
||||||
echo "<option value=\"$r->id\">$name</option>\n";
|
echo "<option value=\"$r->id\">$displayname</option>\n";
|
||||||
}
|
}
|
||||||
echo "</select>";
|
echo "</select>";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user