X-Git-Url: http://git.treefish.org/banana.git/blobdiff_plain/17d5ad30f747658451fae84fe65cb1f5b66d377c..74ec84ba871e86491a79a21b85cf37126b41cc7a:/register.php
diff --git a/register.php b/register.php
index 13e2aab..e63872b 100644
--- a/register.php
+++ b/register.php
@@ -1,6 +1,8 @@
";
print "
user already registered |
---|
";
print "";
- break;
+ exit;
}
$db->query("INSERT INTO students (mnumber,firstname,lastname,email,password)
@@ -39,7 +46,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;
}
?>