forked from science-ation/science-ation
FIx missing numstudents in project object
This commit is contained in:
parent
9efd7d89f9
commit
acbd76aa03
@ -568,9 +568,10 @@ function getProject($userId){
|
|||||||
$returnval = mysql_fetch_assoc($q);
|
$returnval = mysql_fetch_assoc($q);
|
||||||
}
|
}
|
||||||
|
|
||||||
$q=mysql_query("SELECT nummentors FROM registrations WHERE id='$regId'");
|
$q=mysql_query("SELECT nummentors,numstudents FROM registrations WHERE id='$regId'");
|
||||||
$r=mysql_fetch_assoc($q);
|
$r=mysql_fetch_assoc($q);
|
||||||
$returnval['nummentors']=$r['nummentors'];
|
$returnval['nummentors']=$r['nummentors'];
|
||||||
|
$returnval['numstudents']=$r['numstudents'];
|
||||||
|
|
||||||
$safetyquestions=getSafetyQuestions($regId);
|
$safetyquestions=getSafetyQuestions($regId);
|
||||||
$returnval['safetyquestions']=$safetyquestions;
|
$returnval['safetyquestions']=$safetyquestions;
|
||||||
|
Loading…
Reference in New Issue
Block a user