Insert a name 'Superuser Account' with the superuser record so it will properly show up in the committee editor list

This commit is contained in:
james 2007-09-26 21:30:52 +00:00
parent 620353e8fa
commit 2063ada383

View File

@ -139,7 +139,7 @@ if($_POST['action']=="save")
echo "<b>Done!</b><br />";
echo "Creating superuser account...";
mysql_query("INSERT INTO committees_members (email,emailprivate,password,access_admin,access_config,access_super) VALUES ('".$_POST['email']."','".$_POST['email']."','".$_POST['pass1']."','Y','Y','Y')");
mysql_query("INSERT INTO committees_members (name,email,emailprivate,password,access_admin,access_config,access_super) VALUES ('Superuser Account','".$_POST['email']."','".$_POST['email']."','".$_POST['pass1']."','Y','Y','Y')");
echo mysql_error();
echo "<b>Done!</b><br />";