Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
e3fd12fa
Commit
e3fd12fa
authored
Sep 07, 2007
by
Leigh B. Stoller
Browse files
Remove debugging code.
parent
f21c9dd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/newproject.php3
View file @
e3fd12fa
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment