forked from science-ation/science-ation
Fix a bug that was introduced in the last upgrade that prevented the school participant invitation system from working!!
This commit is contained in:
parent
d9dc85c1d7
commit
3a2186b5dd
@ -99,7 +99,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'])
|
||||
students,
|
||||
registrations
|
||||
WHERE
|
||||
schools_id='".$school->id."'
|
||||
students.schools_id='".$school->id."'
|
||||
AND students.year='".$config['FAIRYEAR']."'
|
||||
AND students.registrations_id=registrations.id
|
||||
ORDER BY
|
||||
@ -110,6 +110,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'])
|
||||
{
|
||||
echo i18n("In order for your school's students to register for the fair, you will need to invite them to register. Simply enter their email address below to invite them to register. <b>Important</b>: for group projects, only add one of the participants, that participant will then add the other group member(s) to the project");
|
||||
echo "<br />";
|
||||
echo "<br />";
|
||||
$okaygrades=array();
|
||||
if($school->projectlimitper=="total")
|
||||
{
|
||||
@ -142,7 +143,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'])
|
||||
students,
|
||||
registrations
|
||||
WHERE
|
||||
schools_id='".$school->id."'
|
||||
students.schools_id='".$school->id."'
|
||||
AND students.grade>='$catr->mingrade'
|
||||
AND students.grade<='$catr->maxgrade'
|
||||
AND students.year='".$config['FAIRYEAR']."'
|
||||
|
Loading…
Reference in New Issue
Block a user