diff --git a/register_participants.inc.php b/register_participants.inc.php index 8626ed0..dc3f9c9 100644 --- a/register_participants.inc.php +++ b/register_participants.inc.php @@ -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