Remove registrations_id from one other place too

This commit is contained in:
james 2011-03-02 17:46:53 +00:00
parent 6f882b38b9
commit 44ac9e6640

View File

@ -579,7 +579,7 @@ function addMentor($registrations_id){
}
// and now we can return an array that is the empty record for the mentor
$fields = 'id, registrations_id, firstname, lastname, email, phone, organization, position, description, conferences_id';
$fields = 'id, firstname, lastname, email, phone, organization, position, description, conferences_id';
$mentorId = mysql_insert_id();
$q = mysql_query("SELECT $fields FROM mentors WHERE id = $mentorId");
if(mysql_error()){