Skip to content
Snippets Groups Projects
Commit 5e5db421 authored by Imran Hussain's avatar Imran Hussain
Browse files

Signup system now only expects students to have @swan(sea).ac.uk

parent a2e4dd0b
No related branches found
No related tags found
No related merge requests found
......@@ -322,8 +322,9 @@ if(isset($_REQUEST['signupid'])&&isset($_REQUEST['signuppw'])){
}
}
}
if ($row['type']!=2){
//Wrong logic, only students have student email addresses ~imranh
if ($row['type']==1){
$addtolist ="".$fields['email']."\n".$fields['studentid']."@swan.ac.uk";
}else{
$addtolist="".$fields['email']."\n"; //Societies don't have student email addresses
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment