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

Don't need to check if they aren't in the singup table if we know they aren't in the members table

parent ff575957
No related branches found
No related tags found
4 merge requests!70Tidy up branches (2/3),!69Tidy up branches (1/3),!67Sucs site,!61CI changes from live branch to beta
Pipeline #
......@@ -52,7 +52,7 @@ if (!empty($_REQUEST['sid']) && !empty($_REQUEST['transactionID'])) {
$smarty->assign("id", $signuptmpresult->fields["id"]);
$smarty->assign("pass", $signuptmpresult->fields["password"]);
// else if they aren't in the SUCS DB, then bootstrap signup process
} else if ($tmpresult->fields == false && $signuptmpresult->fields == false) {
} else if ($tmpresult->fields == false) {
$mode = "form";
$pass = make_password();
$iddata = $sucsDB->Execute("insert into signup (password,sid,issuedby) values( ?, ?, ?) returning id", array($pass, $sid, "99999"));
......
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