Commit e3fd12fa authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Remove debugging code.

parent f21c9dd0
......@@ -648,7 +648,7 @@ if (!isset($formfields)) {
PAGEARGERROR("Invalid form arguments.");
}
TBERROR("A\n\n" . print_r($formfields, TRUE), 0);
#TBERROR("A\n\n" . print_r($formfields, TRUE), 0);
#
# Otherwise, must validate and redisplay if errors
......@@ -879,14 +879,7 @@ if (isset($formfields["proj_linked"]) &&
$errors["Link to Us"] = "Bad Value";
}
# Present these errors before we call out to do pubkey stuff; saves work.
if (count($errors)) {
SPITFORM($formfields, $returning, $errors);
PAGEFOOTER();
return;
}
# Done with sanity checks!
# Present these errors before we call out to do anything else.
if (count($errors)) {
SPITFORM($formfields, $returning, $errors);
PAGEFOOTER();
......
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