Commit 578d92e6 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix DB group membership insert by using the right local variables.

The database probably has a bunch of bogus entries in it ...
parent 824024b2
......@@ -140,7 +140,7 @@ if (isset($gid) && isset($password1) && isset($email) &&
mysql_db_query("tbdb","insert into grp_memb (uid,gid,trust)".
"values ('$uid','$grp','none');");
"values ('$grp_head_uid','$gid','none');");
$fp = fopen("/usr/testbed/www/maillist/leaders.txt", "a");
$fp2 = fopen("/usr/testbed/www/maillist/users.txt", "a");
fwrite($fp, "$email\n"); #Writes the email address to mailing lists
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment