Fix missing space

This commit is contained in:
james 2010-03-16 16:57:39 +00:00
parent 25d2b4297d
commit b5a67ca301

View File

@ -54,7 +54,7 @@
$_SESSION['email']=stripslashes(mysql_escape_string($_POST['email']));
$q=mysql_query("SELECT registrations.id AS regid, registrations.num AS regnum, students.id AS studentid, students.firstname FROM registrations,students ".
"WHERE students.email='".$_SESSION['email']."'".
"WHERE students.email='".$_SESSION['email']."' ".
"AND registrations.num='".intval($_POST['regnum'])."' ".
"AND students.registrations_id=registrations.id ".
"AND registrations.year=".$config['FAIRYEAR']." ".