forked from science-ation/science-ation
Remove registrations_id from one other place too
This commit is contained in:
parent
6f882b38b9
commit
44ac9e6640
@ -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()){
|
||||
|
Loading…
Reference in New Issue
Block a user