Commit f772dc7a authored by Imran Hussain's avatar Imran Hussain
Browse files

Fix old members returning with the same student id while still being a student.

parent c5966e6f
Loading
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -46,12 +46,6 @@ if (!empty($_REQUEST['sid']) && !empty($_REQUEST['transactionID'])) {
            renew_membership($tmpresult->fields["username"]);
            // let them know that their account has been renewed
            message_flash("Your SUCS account has been renewed.");
            // else if they aren't in the SUCS DB but have a signup slip, take them back to that part of signup
            // I don't know how you would end up in a state like this but the old code dealt with it so I will as well
        } else if ($tmpresult->fields == false && $signuptmpresult->fields["sid"] == $sid) {
            $mode = "form";
            $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) {
            $mode = "form";