Return associated array instead of indexed on addMentor

This commit is contained in:
james 2011-03-01 17:56:13 +00:00
parent 3cf5b38994
commit ec5736c29f

View File

@ -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