forked from science-ation/science-ation
michael couldnt find the registration number becuase it was called 'num' so now give him both 'num' and 'registration_number'
This commit is contained in:
parent
133b41da5b
commit
7d6d1851cd
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user