diff --git a/register_participants.inc.php b/register_participants.inc.php index e02aceb..20df832 100644 --- a/register_participants.inc.php +++ b/register_participants.inc.php @@ -483,7 +483,7 @@ function getRegistrationsId($user){ } function getRegistration($id) { global $conference; - $q=mysql_query("SELECT id,num,start,status,end,nummentors,numstudents FROM registrations WHERE id='$id' AND conferences_id='{$conference['id']}'"); + $q=mysql_query("SELECT id,id AS registration_id,num,num AS registration_number,start,status AS registration_status,end,nummentors,numstudents FROM registrations WHERE id='$id' AND conferences_id='{$conference['id']}'"); $reg=mysql_fetch_assoc($q); if(!$reg) return null;