Commit e8e306ee authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

Change else to catch errors

parent 45085d40
......@@ -85,7 +85,7 @@ if (isset($_POST['submit']) &&
$msg = "Successfully created your application!" ;
header("Location: main.php?msg=$msg&success");
exit();
} else if(!$profile && $appID == 0){
} else if(!$profile){
$msg = "Error!" ;
header("Location: main.php?msg=$msg&failure");
exit();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment