X-Git-Url: https://git.treefish.org/banana.git/blobdiff_plain/17d5ad30f747658451fae84fe65cb1f5b66d377c..da4d58fd2fe170781a7810fb5265b4744ce636ed:/register.php?ds=sidebyside diff --git a/register.php b/register.php index 13e2aab..fc6eb4b 100644 --- a/register.php +++ b/register.php @@ -18,7 +18,7 @@ if(isset($_POST['submit']) && $_POST['firstname']!="" && $_POST['lastname']!="" print ""; print ""; print "
user already registered
"; - break; + exit; } $db->query("INSERT INTO students (mnumber,firstname,lastname,email,password) @@ -39,7 +39,7 @@ if(isset($_POST['submit']) && $_POST['firstname']!="" && $_POST['lastname']!="" 'X-Mailer: PHP/' . phpversion(); mail($email, "Banana Registration: " . $PREFS['exname'] . " (" . $PREFS['groupname'] . ")", $nachricht, $header); - break; + exit; } ?>