Commit ce20e662 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 0d379349
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"));