forked from science-ation/science-ation
Return associated array instead of indexed on addMentor
This commit is contained in:
parent
3cf5b38994
commit
ec5736c29f
@ -586,7 +586,7 @@ function addMentor($registrations_id){
|
||||
return "register_participants.inc.php::addMentor -> " . mysql_error();
|
||||
}
|
||||
|
||||
return mysql_fetch_array($q);
|
||||
return mysql_fetch_assoc($q);
|
||||
}
|
||||
|
||||
// find out if the specified user is allowed to edit the specified mentor. returns a boolean answer
|
||||
|
Loading…
Reference in New Issue
Block a user