forked from science-ation/science-ation
Allow non-primary user to request registration number be emailed to them
This commit is contained in:
parent
b152d7d662
commit
ece5a157ac
@ -52,7 +52,7 @@
|
||||
}
|
||||
else if($_GET['action']=="resend" && $_SESSION['email'])
|
||||
{
|
||||
$q=mysql_query("SELECT num FROM registrations WHERE email='".$_SESSION['email']."'");
|
||||
$q=mysql_query("SELECT registrations.num FROM registrations, students WHERE students.email='".$_SESSION['email']."' AND students.registrations_id=registrations.id");
|
||||
$r=mysql_fetch_object($q);
|
||||
|
||||
$mailbody= "We have received a request for the retrieval\n".
|
||||
|
Loading…
Reference in New Issue
Block a user